mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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.
This commit is contained in:
parent
fc00d3fcb2
commit
096e7457ec
175 changed files with 4857 additions and 4869 deletions
16
g10/exec.c
16
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue