mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Replace most of the remaining stdio calls by estream calls.
-- We need to use es_fopen on Windows to cope with non-ascii file names. This is quite a large but fortunately straightforward change. At a very few places we keep using stdio (for example due to the use of popen). GnuPG-bug-id: 5098 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c94ee1386e
commit
390497ea11
23 changed files with 220 additions and 216 deletions
|
@ -1068,6 +1068,7 @@ gnupg_access (const char *name, int mode)
|
|||
|
||||
|
||||
/* Try to set an envvar. Print only a notice on error. */
|
||||
#ifndef HAVE_W32_SYSTEM
|
||||
static void
|
||||
try_set_envvar (const char *name, const char *value, int silent)
|
||||
{
|
||||
|
@ -1076,6 +1077,7 @@ try_set_envvar (const char *name, const char *value, int silent)
|
|||
log_info ("error setting envvar %s to '%s': %s\n", name, value,
|
||||
gpg_strerror (my_error_from_syserror ()));
|
||||
}
|
||||
#endif /*!HAVE_W32_SYSTEM*/
|
||||
|
||||
|
||||
/* Switch to USER which is either a name or an UID. This is a nop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue