diff options
author | Werner Koch <[email protected]> | 2006-04-21 12:56:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-04-21 12:56:40 +0000 |
commit | 4459fcb032268d6164ce70ab750f7b6baded9bf2 (patch) | |
tree | 8726c450d6750d110809c70cb0be27f716ab90b9 /g10/exec.c | |
parent | Continued with merging. (diff) | |
download | gnupg-4459fcb032268d6164ce70ab750f7b6baded9bf2.tar.gz gnupg-4459fcb032268d6164ce70ab750f7b6baded9bf2.zip |
Still merging 1.4.3 code back
Diffstat (limited to 'g10/exec.c')
-rw-r--r-- | g10/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/exec.c b/g10/exec.c index cdc86e16b..6938a409a 100644 --- a/g10/exec.c +++ b/g10/exec.c @@ -473,9 +473,9 @@ int exec_write(struct exec_info **info,const char *program, (*info)->tochild=fopen((*info)->tempfile_in,binary?"wb":"w"); if((*info)->tochild==NULL) { + ret = gpg_error_from_errno (errno); log_error(_("can't create `%s': %s\n"), (*info)->tempfile_in,strerror(errno)); - ret=G10ERR_WRITE_FILE; goto fail; } |