diff options
author | jbj <devnull@localhost> | 2003-05-08 15:52:36 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-05-08 15:52:36 +0000 |
commit | db7ab2f447ee6097b2e98a526f6383a5ca388718 (patch) | |
tree | a8d9f01b37963e4d9a8403cf26c59b312a980d89 /rpmio | |
parent | 8fbd1290f661e6b0f6020b9de4b9cf900bcae2dc (diff) | |
download | librpm-tizen-db7ab2f447ee6097b2e98a526f6383a5ca388718.tar.gz librpm-tizen-db7ab2f447ee6097b2e98a526f6383a5ca388718.tar.bz2 librpm-tizen-db7ab2f447ee6097b2e98a526f6383a5ca388718.zip |
- don't use error string after gzclose (Dmitry V. Levin).
CVS patchset: 6825
CVS date: 2003/05/08 15:52:36
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index c0595f834..8d80138a8 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -2373,9 +2373,7 @@ static int gzdClose( /*@only@*/ void * cookie) DBGIO(fd, (stderr, "==>\tgzdClose(%p) zerror %d %s\n", cookie, rc, fdbg(fd))); /*@=modfilesys@*/ if (rc < 0) { - /*@-usereleased@*/ - fd->errcookie = gzerror(gzfile, &rc); - /*@=usereleased@*/ + fd->errcookie = "gzclose error"; if (rc == Z_ERRNO) { fd->syserrno = errno; fd->errcookie = strerror(fd->syserrno); |