The death of lib/ftp.c, merged into lib/rpmio.c.
authorjbj <devnull@localhost>
Thu, 18 Nov 1999 18:07:46 +0000 (18:07 +0000)
committerjbj <devnull@localhost>
Thu, 18 Nov 1999 18:07:46 +0000 (18:07 +0000)
commit1f6614e61efc520d2da0c09604d4ee1c06117073
treeed7066a82ca608c08be5fbe194611486349eb1a5
parent3a6118d4194d9672b24cd7b357e6191f4eb47fde
The death of lib/ftp.c, merged into lib/rpmio.c.
Start composting the rpmio API.
Preliminary (not working) support for HTTP PUT.
build.c: Check fd for NULL and use Ferror() for Fopen return.
build/parseSpec.c: ditto
build/pack.c: Use fdGetFP() rather than fpio->ffileno().
build/parseSpec.c: ditto
build/pack.c: Use Stat/Mkdir wrappers.
build/pack.c: Do Fflush before fdDup so that writes can remain buffered.
lib/install.c: ditto
build/parsePrep.c: Skip over URL leadin when writing %prep scriptlet.
lib/misc.c: Rewrite to use simpler urlPath(). Restore checks on local fs.
lib/rpmchecksig.c: Open with "r+" rather than "w" to avoid truncation.
lib/url.c: Do lazy malloc of u->buf in rpmio.c checkResponse().
lib/rpmio.c: Make persist/contentLength per-fd rather than per-url.
lib/rpmio.c: Add wr_chunked method for HTTP PUT (still broken).
lib/rpmio.c: ftpAbort() should use timedRead.
lib/rpmio.c: Add Fflush().
lib/url.c: urlPath() should return something ("/") on url = NULL (paranoia).
lib/url.c: urlSplit() should return something ("/") on url w/o path.

CVS patchset: 3429
CVS date: 1999/11/18 18:07:46
15 files changed:
build.c
build/build.c
build/pack.c
build/parsePrep.c
build/parseSpec.c
lib/Makefile.am
lib/ftp.c [deleted file]
lib/install.c
lib/misc.c
lib/rpmchecksig.c
lib/rpmio.h
lib/rpmurl.h
lib/url.c
po/POTFILES.in
po/rpm.pot