From 096e7457ec636bcfcf128678660eb2f2e19f113a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 5 Jun 2012 19:29:22 +0200 Subject: 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. --- common/exechelp-posix.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/exechelp-posix.c') diff --git a/common/exechelp-posix.c b/common/exechelp-posix.c index 670192b03..1290cfd39 100644 --- a/common/exechelp-posix.c +++ b/common/exechelp-posix.c @@ -253,7 +253,7 @@ do_exec (const char *pgmname, const char *argv[], { fds[i] = open ("/dev/null", i? O_WRONLY : O_RDONLY); if (fds[i] == -1) - log_fatal ("failed to open `%s': %s\n", + log_fatal ("failed to open '%s': %s\n", "/dev/null", strerror (errno)); } } @@ -512,13 +512,13 @@ gnupg_wait_process (const char *pgmname, pid_t pid, int hang, int *r_exitcode) } else if (WIFEXITED (status) && WEXITSTATUS (status) == 127) { - log_error (_("error running `%s': probably not installed\n"), pgmname); + log_error (_("error running '%s': probably not installed\n"), pgmname); ec = GPG_ERR_CONFIGURATION; } else if (WIFEXITED (status) && WEXITSTATUS (status)) { if (!r_exitcode) - log_error (_("error running `%s': exit status %d\n"), pgmname, + log_error (_("error running '%s': exit status %d\n"), pgmname, WEXITSTATUS (status)); else *r_exitcode = WEXITSTATUS (status); @@ -526,7 +526,7 @@ gnupg_wait_process (const char *pgmname, pid_t pid, int hang, int *r_exitcode) } else if (!WIFEXITED (status)) { - log_error (_("error running `%s': terminated\n"), pgmname); + log_error (_("error running '%s': terminated\n"), pgmname); ec = GPG_ERR_GENERAL; } else -- cgit v1.2.3