summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-04-14 11:28:31 +0000
committerjbj <devnull@localhost>1999-04-14 11:28:31 +0000
commit527e1bc4e0430a08f5a897ecee4feecdd57a6875 (patch)
tree750f887100708b3a9a90865d00d0a1d7cd0c2ba2 /build
parentf5cf7b223f88c4cc975f4778010909209435fdae (diff)
downloadlibrpm-tizen-527e1bc4e0430a08f5a897ecee4feecdd57a6875.tar.gz
librpm-tizen-527e1bc4e0430a08f5a897ecee4feecdd57a6875.tar.bz2
librpm-tizen-527e1bc4e0430a08f5a897ecee4feecdd57a6875.zip
fix: last update transaction set segfault bug in installer.
improved checks for statfs (Tim Mooney). remove inconsistent use of __P((...)) throughout. non-static inline functions caused IRIX cc pain. CPIOERR_CHECK_ERRNO masking caused AIX cc warnings. CVS patchset: 2993 CVS date: 1999/04/14 11:28:31
Diffstat (limited to 'build')
-rw-r--r--build/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c
index dad770477..062823804 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -415,7 +415,7 @@ static int cpio_gzip(FD_t fdo, CSA_t *csa) {
static int cpio_copy(FD_t fdo, CSA_t *csa) {
char buf[BUFSIZ];
- size_t nb;
+ ssize_t nb;
while((nb = fdRead(csa->cpioFdIn, buf, sizeof(buf))) > 0) {
if (fdWrite(fdo, buf, nb) != nb) {