summaryrefslogtreecommitdiff
path: root/build/files.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-10 22:09:49 +0000
committerjbj <devnull@localhost>1999-11-10 22:09:49 +0000
commite0b1d0be3607ef673555ca17078bfff6f854267e (patch)
tree828541f8c102a7b9adddc19b0cf623cdedc0fb44 /build/files.c
parentaeab1e959d1fb383a0ff21924bff0edd01404fab (diff)
downloadlibrpm-tizen-e0b1d0be3607ef673555ca17078bfff6f854267e.tar.gz
librpm-tizen-e0b1d0be3607ef673555ca17078bfff6f854267e.tar.bz2
librpm-tizen-e0b1d0be3607ef673555ca17078bfff6f854267e.zip
Swap 2nd and 3rd arg to Fread/Fwrite to preserve read/write type return.
Use Fstrerror to retrieve fd->syserrno. Make ftpFileDoneNeeded per-fd rather than per-url. Make data fd unique rather than per-url. Use appropriate protocol commands for ufdio writing. CVS patchset: 3421 CVS date: 1999/11/10 22:09:49
Diffstat (limited to 'build/files.c')
-rw-r--r--build/files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/files.c b/build/files.c
index 156b602e6..5f213ed1b 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1582,6 +1582,7 @@ static StringBuf getOutputFrom(char *dir, char *argv[],
}
execvp(argv[0], argv);
+ /* XXX this error message is probably not seen. */
rpmError(RPMERR_EXEC, _("Couldn't exec %s: %s"),
argv[0], strerror(errno));
_exit(RPMERR_EXEC);