projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dan Winship informed me that the right fix when gcc -Wall complains about char
[mmh]
/
uip
/
mhparse.c
diff --git
a/uip/mhparse.c
b/uip/mhparse.c
index
fc5ab20
..
86a08b7
100644
(file)
--- a/
uip/mhparse.c
+++ b/
uip/mhparse.c
@@
-205,8
+205,7
@@
pidcheck (int status)
fflush (stdout);
fflush (stderr);
fflush (stdout);
fflush (stderr);
- done (1);
- /* NOTREACHED */
+ return done (1);
}
}
@@
-2400,7
+2399,7
@@
losing_ftp:
goto losing_ftp;
#endif
goto losing_ftp;
#endif
- if (cachefile[0])
+ if (cachefile[0]) {
if (caching)
chmod (cachefile, cachetype ? m_gmprot () : 0444);
else {
if (caching)
chmod (cachefile, cachetype ? m_gmprot () : 0444);
else {
@@
-2414,7
+2413,7
@@
losing_ftp:
fseek (gp, 0L, SEEK_SET);
fseek (gp, 0L, SEEK_SET);
- while ((cc = fread (buffer, sizeof(*buffer), sizeof(buffer), gp))
+ while ((cc= fread (buffer, sizeof(*buffer), sizeof(buffer), gp))
> 0)
fwrite (buffer, sizeof(*buffer), cc, fp);
fflush (fp);
> 0)
fwrite (buffer, sizeof(*buffer), cc, fp);
fflush (fp);
@@
-2432,6
+2431,7
@@
losing_ftp:
}
umask (mask);
}
}
umask (mask);
}
+ }
fseek (ce->ce_fp, 0L, SEEK_SET);
*file = ce->ce_file;
fseek (ce->ce_fp, 0L, SEEK_SET);
*file = ce->ce_file;