summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
AgeCommit message (Collapse)AuthorFilesLines
1999-11-14lib/rpmio.c: Implement per-fd layers as a stack, add fdPush/fdPop.jbj1-10/+17
lib/rpmio.c: Add fd{Get,Set}{Io,Fp,Fdno} abstraction wrappers. lib/rpmio.c: Start rationalizing debug output by using fdbg to display the fd layer stack. rpm.c: Add --nolibio to disable libio if desired. rpm2cpio.c: Use Fdopen(..., gzdio) and ufdCopy(). build/build.c: Use Fdopen(..., fpio) rather than fdio. build/files.c: Use Fdopen(..., fpio) rather than ufdio. build/parseSpec.c: ditto. lib/macro.c: ditto. lib/rpmrc.c: ditto lib/macro.c: Use Fopen(..., ufdio) in isCompressed() rather that fdOpen(). lib/misc.c: ditto. lib/misc.c: Avoid fstat by using Stat. build/pack.c: Add persist fdLink() and use fdFree() in package{Sources,Binaries} build/pack.c: Try to remove the fdDup before cpioBuildArchive() call. build/pack.c: Use rpmGenPath with %{_builddir}. build/parsePreamble.c: Use fdSize rather than Stat to get icon file size. lib/rpmrc.c: ditto lib/ftp.c: start capturing ufdio layer syserrno/errcookie. CVS patchset: 3424 CVS date: 1999/11/14 19:15:18
1999-11-10Swap 2nd and 3rd arg to Fread/Fwrite to preserve read/write type return.jbj1-3/+3
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
1999-11-04Use Fopen almost everywhere.jbj1-1/+1
Rip out --enable-bzip2-payload, we'll use Fopen w macros instead. Work out ref counting for ftpControl so that control channel is persistent. build/build.c: Use fpio to write build stage script. parseSpec.c: Rework include stack to use FD_t, not FILE *. tread.c: Delete, use ufdio->read instead. rpmio.c: Filter out fdio fd == NULL assertion failures. rpmrc.c: Don't fail if HOME is not environment. rpmrc.c: Rework ufdio FTP rcfile I/O to be more similar to stdio. CVS patchset: 3417 CVS date: 1999/11/04 21:26:08
1999-11-03First use of libio.jbj1-0/+4
CVS patchset: 3416 CVS date: 1999/11/03 20:33:53
1999-11-02Add ref/deref/new/fileno/open vectors to FDIO_t.jbj1-1/+1
Hide fdOpen/ufdOpen, use {fdio,ufdio}->open throughout. url.c: Create ref counted abstract urlinfo type with debugging. url.c: Rename functions to urlNew/urlFree/urlFreeCache for consistency. rpmio.c: Create ref counted abstract FD_t type with debugging. rpmio.c: Create private struct _FD_s type. cpio.c: Create fd[GS]etCpioPos to preserve FD_t abstraction. CVS patchset: 3414 CVS date: 1999/11/02 14:33:14
1999-10-30Make fdFileno() static, use Fileno()/Ferror() analogues throughout.jbj1-1/+1
Make ufdClose() static, use Fclose() with ufdio cookie throughout. rpm.c: Clean urlinfoCache and rpmBuildArgs leaks. url.c: urlIsURL() should be here, not in rpmio.c. url.c: Preserve FD_t abstraction by creating ufdGetUrlinfo(). url.c: Create freeUrlinfoCache(). rpmio.c: Create ufdio cookie. CVS patchset: 3407 CVS date: 1999/10/30 16:43:29
1999-10-29fix: resurrect multiple target platform builds.jbj1-1/+1
CVS patchset: 3404 CVS date: 1999/10/29 23:03:12
1999-10-27use compressed filenames on install side.jbj1-4/+4
start unifying FD types, CFD_t now gone. CVS patchset: 3402 CVS date: 1999/10/27 23:18:10
1999-09-26Retrofit glibc __progname.jbj1-9/+1
CVS patchset: 3330 CVS date: 1999/09/26 15:04:03
1998-11-25Add dup for the "other" gzdopen premature close.jbj1-1/+1
CVS patchset: 2556 CVS date: 1998/11/25 00:42:36
1998-11-22Start abstracting compressed I/O.jbj1-17/+18
CVS patchset: 2552 CVS date: 1998/11/22 19:48:48
1998-11-20Sanity.jbj1-3/+3
CVS patchset: 2551 CVS date: 1998/11/20 20:18:22
1998-11-19finish hiding rpmdb index record data ("matches").jbj1-2/+2
CVS patchset: 2543 CVS date: 1998/11/19 18:10:28
1998-11-18implement abstract fd type almost everywhere.jbj1-7/+8
CVS patchset: 2542 CVS date: 1998/11/18 21:41:05
1998-10-08Consolidate i18n baggage into AM_GNU_GETTEXT and system.h.jbj1-1/+0
CVS patchset: 2425 CVS date: 1998/10/08 14:59:17
1998-09-27add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>)jbj1-2/+3
gettextify rpmMessage/rpmError/fprintf messages. CVS patchset: 2368 CVS date: 1998/09/27 22:03:52
1998-07-30Consolidated includes for librpmbuild API.jbj1-2/+0
CVS patchset: 2213 CVS date: 1998/07/30 22:09:42
1998-07-25Aggregate system includes into system.h.jbj1-3/+2
Rearrange functions to minimize exported routines in librpmbuild API. VS: ---------------------------------------------------------------------- CVS patchset: 2183 CVS date: 1998/07/25 21:00:26
1997-08-211) rpm2cpio didn't handle zlib errors properlyewt1-1/+1
2) query formats could yield (none)\n instead of just (none) 3) queries of fssizes w/o fsnames went bonkers CVS patchset: 1787 CVS date: 1997/08/21 01:20:16
1996-12-12minor cleanups -- the gz stream was never getting closedewt1-0/+4
CVS patchset: 1224 CVS date: 1996/12/12 03:21:00
1996-11-18The Great Renamingroot1-1/+1
CVS patchset: 1171 CVS date: 1996/11/18 18:02:36
1996-08-29ignore major, minor from pkgReadHeader()ewt1-1/+1
CVS patchset: 987 CVS date: 1996/08/29 04:14:38
1996-06-17merged rpmlib.h and package.hewt1-1/+0
CVS patchset: 641 CVS date: 1996/06/17 19:43:55
1996-06-10more messagesroot1-2/+20
CVS patchset: 637 CVS date: 1996/06/10 20:47:55
1996-03-02Initial revisionewt1-0/+47
CVS patchset: 453 CVS date: 1996/03/02 17:36:57