diff options
Diffstat (limited to 'g10')
-rw-r--r-- | g10/exec.c | 2 | ||||
-rw-r--r-- | g10/gpg.c | 2 | ||||
-rw-r--r-- | g10/keydb.c | 2 | ||||
-rw-r--r-- | g10/plaintext.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/g10/exec.c b/g10/exec.c index 3e5dc278b..1baa49f02 100644 --- a/g10/exec.c +++ b/g10/exec.c @@ -539,7 +539,7 @@ exec_write(struct exec_info **info,const char *program, gpg_err_set_errno (EPERM); } else - (*info)->tochild=fopen((*info)->tempfile_in,binary?"wb":"w"); + (*info)->tochild = gnupg_fopen ((*info)->tempfile_in,binary?"wb":"w"); if((*info)->tochild==NULL) { ret = gpg_error_from_syserror (); @@ -2536,7 +2536,7 @@ main (int argc, char **argv) } configlineno = 0; - configfp = fopen( configname, "r" ); + configfp = gnupg_fopen( configname, "r" ); if (configfp && is_secured_file (fileno (configfp))) { fclose (configfp); diff --git a/g10/keydb.c b/g10/keydb.c index 9798b5cde..e538fe458 100644 --- a/g10/keydb.c +++ b/g10/keydb.c @@ -504,7 +504,7 @@ rt_from_file (const char *filename, int *r_found, int *r_openpgp) KeydbResourceType rt = KEYDB_RESOURCE_TYPE_NONE; *r_found = *r_openpgp = 0; - fp = fopen (filename, "rb"); + fp = gnupg_fopen (filename, "rb"); if (fp) { *r_found = 1; diff --git a/g10/plaintext.c b/g10/plaintext.c index f9e0a4296..3bc86968b 100644 --- a/g10/plaintext.c +++ b/g10/plaintext.c @@ -185,7 +185,7 @@ get_output_file (const byte *embedded_name, int embedded_namelen, want to port it again to riscos we should do most of the suff in estream. FIXME: Consider to remove all riscos special cases. */ - fp = fopen (fname, "wb"); + fp = gnupg_fopen (fname, "wb"); if (!fp) { log_error (_("error creating '%s': %s\n"), fname, gpg_strerror (err)); |