diff options
author | Werner Koch <[email protected]> | 2012-06-05 17:29:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-06-05 17:29:22 +0000 |
commit | 096e7457ec636bcfcf128678660eb2f2e19f113a (patch) | |
tree | b54df55112f195895d6d952ce3cfb3f4c98e7683 /scd/apdu.c | |
parent | Print the hash algorithm in colon mode key listing. (diff) | |
download | gnupg-096e7457ec636bcfcf128678660eb2f2e19f113a.tar.gz gnupg-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 '')
-rw-r--r-- | scd/apdu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scd/apdu.c b/scd/apdu.c index 8467b034c..7641e91b2 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -1729,7 +1729,7 @@ open_pcsc_reader_direct (const char *portstr) if (!*p && !p[1]) break; if (*p) - log_info ("detected reader `%s'\n", p); + log_info ("detected reader '%s'\n", p); if (nreader < (strlen (p)+1)) { log_error ("invalid response from pcsc_list_readers\n"); @@ -1792,7 +1792,7 @@ open_pcsc_reader_wrapped (const char *portstr) if (access (wrapperpgm, X_OK)) { - log_error ("can't run PC/SC access module `%s': %s\n", + log_error ("can't run PC/SC access module '%s': %s\n", wrapperpgm, strerror (errno)); return -1; } @@ -1856,7 +1856,7 @@ open_pcsc_reader_wrapped (const char *portstr) /* Send stderr to the bit bucket. */ fd = open ("/dev/null", O_WRONLY); if (fd == -1) - log_fatal ("can't open `/dev/null': %s", strerror (errno)); + log_fatal ("can't open '/dev/null': %s", strerror (errno)); if (fd != 2 && dup2 (fd, 2) == -1) log_fatal ("dup2 stderr failed: %s\n", strerror (errno)); @@ -2900,7 +2900,7 @@ apdu_open_reader (const char *portstr, int *r_no_service) handle = dlopen (opt.pcsc_driver, RTLD_LAZY); if (!handle) { - log_error ("apdu_open_reader: failed to open driver `%s': %s\n", + log_error ("apdu_open_reader: failed to open driver '%s': %s\n", opt.pcsc_driver, dlerror ()); return -1; } |