Line 0
Link Here
|
|
|
1 |
--- cdb.c.orig Mon Dec 10 06:18:02 2001 |
2 |
+++ cdb.c Mon Mar 3 08:38:57 2003 |
3 |
@@ -144,7 +144,7 @@ |
4 |
if (printf(mode == 'd' ? "+%u,%u:" : "+%u:", klen, vlen) < 0) return -1; |
5 |
if (fcpy(f, stdout, klen, &pos, eod) != 0) return -1; |
6 |
if (mode == 'd') |
7 |
- if (!fputs(flags & F_MAP ? " " : "->", stdout)) |
8 |
+ if (fputs(flags & F_MAP ? " " : "->", stdout) == EOF) |
9 |
return -1; |
10 |
if (fcpy(f, mode == 'd' ? stdout : NULL, vlen, &pos, eod) != 0) |
11 |
return -1; |