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 /g10/exec.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 'g10/exec.c')
-rw-r--r-- | g10/exec.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/g10/exec.c b/g10/exec.c index 56e49ec34..0caa43ba4 100644 --- a/g10/exec.c +++ b/g10/exec.c @@ -193,7 +193,7 @@ make_tempdir(struct exec_info *info) #endif if(mkdtemp(info->tempdir)==NULL) - log_error(_("can't create directory `%s': %s\n"), + log_error(_("can't create directory '%s': %s\n"), info->tempdir,strerror(errno)); else { @@ -421,10 +421,10 @@ exec_write(struct exec_info **info,const char *program, /* If we get this far the exec failed. Clean up and return. */ if(args_in==NULL) - log_error(_("unable to execute program `%s': %s\n"), + log_error(_("unable to execute program '%s': %s\n"), program,strerror(errno)); else - log_error(_("unable to execute shell `%s': %s\n"), + log_error(_("unable to execute shell '%s': %s\n"), shell,strerror(errno)); /* This mimics the POSIX sh behavior - 127 means "not found" @@ -465,7 +465,7 @@ exec_write(struct exec_info **info,const char *program, #endif /* !EXEC_TEMPFILE_ONLY */ if(DBG_EXTPROG) - log_debug("using temp file `%s'\n",(*info)->tempfile_in); + log_debug("using temp file '%s'\n",(*info)->tempfile_in); /* It's not fork/exec/pipe, so create a temp file */ if( is_secured_filename ((*info)->tempfile_in) ) @@ -478,7 +478,7 @@ exec_write(struct exec_info **info,const char *program, if((*info)->tochild==NULL) { ret = gpg_error_from_syserror (); - log_error(_("can't create `%s': %s\n"), + log_error(_("can't create '%s': %s\n"), (*info)->tempfile_in,strerror(errno)); goto fail; } @@ -604,19 +604,19 @@ exec_finish(struct exec_info *info) if(info->tempfile_in) { if(unlink(info->tempfile_in)==-1) - log_info(_("WARNING: unable to remove tempfile (%s) `%s': %s\n"), + log_info(_("WARNING: unable to remove tempfile (%s) '%s': %s\n"), "in",info->tempfile_in,strerror(errno)); } if(info->tempfile_out) { if(unlink(info->tempfile_out)==-1) - log_info(_("WARNING: unable to remove tempfile (%s) `%s': %s\n"), + log_info(_("WARNING: unable to remove tempfile (%s) '%s': %s\n"), "out",info->tempfile_out,strerror(errno)); } if(rmdir(info->tempdir)==-1) - log_info(_("WARNING: unable to remove temp directory `%s': %s\n"), + log_info(_("WARNING: unable to remove temp directory '%s': %s\n"), info->tempdir,strerror(errno)); } |