summaryrefslogtreecommitdiff
path: root/lib/install.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-19 18:19:41 +0000
committerjbj <devnull@localhost>1999-11-19 18:19:41 +0000
commitc6d768583ef384f1037d5d3fb3c73174cebd6bdf (patch)
tree3b8803c45679d92143e2408d9fc08b7d398df6ac /lib/install.c
parent1f6614e61efc520d2da0c09604d4ee1c06117073 (diff)
downloadlibrpm-tizen-c6d768583ef384f1037d5d3fb3c73174cebd6bdf.tar.gz
librpm-tizen-c6d768583ef384f1037d5d3fb3c73174cebd6bdf.tar.bz2
librpm-tizen-c6d768583ef384f1037d5d3fb3c73174cebd6bdf.zip
macros.in: Add buildsubdir and scriptlet template macros.
build/build.c: Rewrite to use scriptlet templates. build/files.c: Rename variables to prepare for (possibly) URL's in %files. build/myftw.c: Use Lstat. build/parsePreamble.c: Permit URL's in BuildRoot tag if not from spec file. build/parseSpec.c: ditto build/parsePrep.c: Add buildsubdir macro. lib/macro.c: Add url2path (nickname u2p) and verbose macro primitives. lib/url.c: urlPath returns "" if url is NULL (rpmGenPath memory corruption). CVS patchset: 3430 CVS date: 1999/11/19 18:19:41
Diffstat (limited to 'lib/install.c')
-rw-r--r--lib/install.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/install.c b/lib/install.c
index 1089e4d06..e2835b5df 100644
--- a/lib/install.c
+++ b/lib/install.c
@@ -349,11 +349,7 @@ static int installArchive(FD_t fd, struct fileInfo * files,
notifyData);
(void) Fflush(fd);
-#ifndef DYING
cfd = Fdopen(fdDup(Fileno(fd)), "r.gzdio");
-#else
- cfd = Fdopen(fd, "r.gzdio");
-#endif
rc = cpioInstallArchive(cfd, map, mappedFiles,
((notify && archiveSize) || specFile) ? callback : NULL,
&info, &failedFile);