summaryrefslogtreecommitdiff
path: root/lib/rpminstall.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-12 17:20:49 +0000
committerjbj <devnull@localhost>1999-11-12 17:20:49 +0000
commit8ce88756fdb4a1cd88085acfac49c3a7180bb1bb (patch)
tree02f06c8b54b20af60f42299f65a6fca86cd61783 /lib/rpminstall.c
parente0b1d0be3607ef673555ca17078bfff6f854267e (diff)
downloadlibrpm-tizen-8ce88756fdb4a1cd88085acfac49c3a7180bb1bb.tar.gz
librpm-tizen-8ce88756fdb4a1cd88085acfac49c3a7180bb1bb.tar.bz2
librpm-tizen-8ce88756fdb4a1cd88085acfac49c3a7180bb1bb.zip
Use Fstrerror on ufdio throughut.
rpm.c: add --rmspec to usage output. build/files.c: use ufdio to permit '%files -f <url>' (untested). build/pack.c: use ufdio in readRPM(), writeRPM(), and addFileToTag(). build/parsePreamble.c: use ufdio in readIcon(). lib/ftp.c: httpOpen() now takes FD_t ctrl arg to uncouple from u->ctrl. lib/install.c: usr rpmGenPath() to identify first found url in file path concat. lib/install.c: permit url's in files[i].relativePath. lib/macro.c: use ufdio, diddle macros for tmacro standalone build. lib/macro.c: Create rpmGenPath(). lib/macro.c: diddle macro files path to permit url's. lib/rpmchecksig.c: use Fopen on fdio. lib/rpmio.c: replace copyData() with ufdCopy(). lib/rpmio.c: replace httpGetFile() with ufdGetFile(). lib/rpmio.c: add ufdWrite(). lib/rpmio.c: permit 2 simultaneous persistent malloc/open HTTP/1.1 connections. lib/rpmio.c: Add Lstat(), Stat(), and Access(). lib/rpmio.c: assume paths in syscall stubs are loopback (WRONG). lib/url.c: add urlPath(). CVS patchset: 3422 CVS date: 1999/11/12 17:20:49
Diffstat (limited to 'lib/rpminstall.c')
-rw-r--r--lib/rpminstall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index 4dba461f6..a9f51d759 100644
--- a/lib/rpminstall.c
+++ b/lib/rpminstall.c
@@ -164,6 +164,8 @@ int rpmInstall(const char * rootdir, const char ** argv, int transFlags,
}
}
+ /* XXX undefined %{name}/%{version}/%{release} here */
+ /* XXX %{_tmpdir} does not exist */
rpmMessage(RPMMESS_DEBUG, _(" ... as %s\n"), tfn);
myrc = urlGetFile(*filename, tfn);
if (myrc < 0) {