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 /tools/symcryptrun.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-- | tools/symcryptrun.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c index 942fafa09..4074c6ec9 100644 --- a/tools/symcryptrun.c +++ b/tools/symcryptrun.c @@ -99,10 +99,10 @@ /* From simple-gettext.c. */ -/* We assume to have `unsigned long int' value with at least 32 bits. */ +/* We assume to have 'unsigned long int' value with at least 32 bits. */ #define HASHWORDBITS 32 -/* The so called `hashpjw' function by P.J. Weinberger +/* The so called 'hashpjw' function by P.J. Weinberger [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, 1986, 1987 Bell Telephone Laboratories, Inc.] */ @@ -228,7 +228,7 @@ my_strusage (int level) /* This is in the GNU C library in unistd.h. */ #ifndef TEMP_FAILURE_RETRY -/* Evaluate EXPRESSION, and repeat as long as it returns -1 with `errno' +/* Evaluate EXPRESSION, and repeat as long as it returns -1 with 'errno' set to EINTR. */ # define TEMP_FAILURE_RETRY(expression) \ @@ -318,7 +318,7 @@ confucius_mktmpdir (void) name = xstrconcat (p, "/", "gpg-XXXXXX", NULL); if (!name || !mkdtemp (name)) { - log_error (_("can't create temporary directory `%s': %s\n"), + log_error (_("can't create temporary directory '%s': %s\n"), name?name:"", strerror (errno)); return NULL; } @@ -935,7 +935,7 @@ main (int argc, char **argv) { if (!default_config) { - log_error (_("option file `%s': %s\n"), + log_error (_("option file '%s': %s\n"), configname, strerror(errno) ); exit(1); } |