chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor HTML fixes so website validates
[ypp-sc-tools.db-live.git]
/
yarrg
/
common.c
diff --git
a/yarrg/common.c
b/yarrg/common.c
index f95e585866657f8d8e29c19c7c31b5daeae9c977..cc33235f2b11d2fab791a7376113ac56d05002d6 100644
(file)
--- a/
yarrg/common.c
+++ b/
yarrg/common.c
@@
-122,7
+122,7
@@
int gzopen(const char *zpath, int oflags, FILE **f_r, pid_t *pid_r,
const char *gziplevel /* 0 for read; may be 0, or "-1" etc. */) {
int zfd= open(zpath, oflags, 0666);
- if (
!zfd
) return errno;
+ if (
zfd<0
) return errno;
int pipefds[2];
sysassert(! pipe(pipefds) );