summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-12-16 20:42:45 +0000
committerMatt Wilson <msw@redhat.com>2002-12-16 20:42:45 +0000
commitb23198893463a137a9ec039377eb35dece703196 (patch)
tree5701d09ac51c02da2b6e5f7891c374425b2e53a9 /isys
parent875b4157dfffecf163c06247bf33a70136b85fe2 (diff)
downloadanaconda-b23198893463a137a9ec039377eb35dece703196.tar.gz
anaconda-b23198893463a137a9ec039377eb35dece703196.tar.xz
anaconda-b23198893463a137a9ec039377eb35dece703196.zip
require new version of bogl that does not do atexit() stuff, enable bogl
Diffstat (limited to 'isys')
-rw-r--r--isys/gzlib/binding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/gzlib/binding.c b/isys/gzlib/binding.c
index 55e512d26..cdfccbaaa 100644
--- a/isys/gzlib/binding.c
+++ b/isys/gzlib/binding.c
@@ -52,7 +52,7 @@ gzFile gunzip_open(const char * file) {
gzFile rc;
fd = open(file, O_RDONLY);
- if (fd < 0) return NULL;
+ if (fd == -1) return NULL;
rc = gunzip_dopen(fd);
close(fd);
@@ -100,7 +100,7 @@ gzFile gzip_open(const char * file, int flags, int perms) {
gzFile rc;
fd = open(file, flags, perms);
- if (fd < 0) return NULL;
+ if (fd == -1) return NULL;
rc = gzip_dopen(fd);
close(fd);