diff options
author | Werner Koch <wk@gnupg.org> | 2012-06-05 19:29:22 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-06-05 19:29:22 +0200 |
commit | 096e7457ec636bcfcf128678660eb2f2e19f113a (patch) | |
tree | b54df55112f195895d6d952ce3cfb3f4c98e7683 /common/exechelp-w32ce.c | |
parent | Print the hash algorithm in colon mode key listing. (diff) | |
download | gnupg2-096e7457ec636bcfcf128678660eb2f2e19f113a.tar.xz gnupg2-096e7457ec636bcfcf128678660eb2f2e19f113a.zip |
Change all quotes in strings and comments to the new GNU standard.
The asymmetric quotes used by GNU in the past (`...') don't render
nicely on modern systems. We now use two \x27 characters ('...').
The proper solution would be to use the correct Unicode symmetric
quotes here. However this has the disadvantage that the system
requires Unicode support. We don't want that today. If Unicode is
available a generated po file can be used to output proper quotes. A
simple sed script like the one used for en@quote is sufficient to
change them.
The changes have been done by applying
sed -i "s/\`\([^'\`]*\)'/'\1'/g"
to most files and fixing obvious problems by hand. The msgid strings in
the po files were fixed with a similar command.
Diffstat (limited to 'common/exechelp-w32ce.c')
-rw-r--r-- | common/exechelp-w32ce.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/exechelp-w32ce.c b/common/exechelp-w32ce.c index b4ac592c7..886d51759 100644 --- a/common/exechelp-w32ce.c +++ b/common/exechelp-w32ce.c @@ -636,7 +636,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[], return err; } - log_debug ("CreateProcess, path=`%s' cmdline=`%s'\n", pgmname, cmdline); + log_debug ("CreateProcess, path='%s' cmdline='%s'\n", pgmname, cmdline); if (!create_process (pgmname, cmdline, &pi)) { log_error ("CreateProcess failed: %s\n", w32_strerror (-1)); @@ -698,7 +698,7 @@ gnupg_spawn_process_fd (const char *pgmname, const char *argv[], if (err) return err; - log_debug ("CreateProcess, path=`%s' cmdline=`%s'\n", pgmname, cmdline); + log_debug ("CreateProcess, path='%s' cmdline='%s'\n", pgmname, cmdline); if (!create_process (pgmname, cmdline, &pi)) { log_error ("CreateProcess(fd) failed: %s\n", w32_strerror (-1)); @@ -762,7 +762,7 @@ gnupg_wait_process (const char *pgmname, pid_t pid, int hang, int *exitcode) } else if (exc) { - log_error (_("error running `%s': exit status %d\n"), + log_error (_("error running '%s': exit status %d\n"), pgmname, (int)exc ); if (exitcode) *exitcode = (int)exc; @@ -822,7 +822,7 @@ gnupg_spawn_process_detached (const char *pgmname, const char *argv[], return err; /* Note: There is no detached flag under CE. */ - log_debug ("CreateProcess, path=`%s' cmdline=`%s'\n", pgmname, cmdline); + log_debug ("CreateProcess, path='%s' cmdline='%s'\n", pgmname, cmdline); if (!create_process (pgmname, cmdline, &pi)) { log_error ("CreateProcess(detached) failed: %s\n", w32_strerror (-1)); |