aboutsummaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:40:47 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:40:47 (GMT)
commitcb2555e19237930a25989a7cd2bee4589f1d515d (patch)
tree524bf902278ca892821a6be886ac3b51cfa9910f /utils.c
parent22e2e8b44054a4e95dd473079f0e7800284b0d20 (diff)
downloadpowwow-cb2555e19237930a25989a7cd2bee4589f1d515d.zip
powwow-cb2555e19237930a25989a7cd2bee4589f1d515d.tar.gz
powwow-cb2555e19237930a25989a7cd2bee4589f1d515d.tar.bz2
Convert all `' to "" as per the powwow-1.2.6-dain patch. Note I did not apply
the patch since 1.2.7 has some differences to 1.2.5 with regard to command handling and things, so I'm applying the diff parts by hand mostly
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/utils.c b/utils.c
index 8ec96eb..52d7c10 100644
--- a/utils.c
+++ b/utils.c
@@ -851,7 +851,7 @@ static void load_missing_stuff __P1 (int,n)
parse_alias(buf);
limit_mem = 1048576;
tty_printf("#compatibility aliases loaded:\n\t%s\n", "#lines, #settimer");
- tty_puts("#max text/strings length set to 1048576 bytes\n\tuse `#setvar mem' to change it\n\n#wait...");
+ tty_puts("#max text/strings length set to 1048576 bytes\n\tuse \"#setvar mem\" to change it\n\n#wait...");
tty_flush();
sleep(1);
tty_puts("ok\n");
@@ -880,7 +880,7 @@ int read_settings __P0 (void)
f = fopen(deffile, "r");
if (!f) {
- PRINTF("#error: cannot open file `%s': %s\n", deffile, strerror(errno));
+ PRINTF("#error: cannot open file \"%s\": %s\n", deffile, strerror(errno));
return 0;
}
@@ -941,7 +941,7 @@ int read_settings __P0 (void)
if (!cmd) {
if (feof(f)) {
- PRINTF("#error: missing newline at end of file `%s'\n", deffile);
+ PRINTF("#error: missing newline at end of file \"%s\"\n", deffile);
break;
}
/* no newline yet. increase line size and try again */
@@ -981,7 +981,7 @@ int read_settings __P0 (void)
if (error)
failed = -1;
else if (ferror(f) && !feof(f)) {
- PRINTF("#error: cannot read file `%s': %s\n", deffile, strerror(errno));
+ PRINTF("#error: cannot read file \"%s\": %s\n", deffile, strerror(errno));
failed = -1;
} else if (limit_mem_hit) {
PRINTF("#error: cannot load save-file: got a line longer than limit\n");
@@ -1006,7 +1006,7 @@ static char tmpname[BUFSIZE];
static void fail_msg __P0 (void)
{
- PRINTF("#error: cannot write to temporary file `%s': %s\n", tmpname, strerror(errno));
+ PRINTF("#error: cannot write to temporary file \"%s\": %s\n", tmpname, strerror(errno));
}
/*
@@ -1240,7 +1240,7 @@ int save_settings __P0 (void)
else {
failed = rename(tmpname, deffile);
if (failed == -1) {
- PRINTF("#error: cannot move temporary file `%s' to `%s': %s\n",
+ PRINTF("#error: cannot move temporary file \"%s\" to \"%s\": %s\n",
tmpname, deffile, strerror(errno));
} else
failed = 1;
@@ -1253,7 +1253,7 @@ int save_settings __P0 (void)
}
/*
- * update `now' to current time
+ * update "now" to current time
*/
void update_now __P0 (void)
{