Bug in batcher (INN 2.2.2)
Heinz Diehl
hd at elfie.rhein-neckar.de
Sun Jan 2 12:33:51 UTC 2000
On Sat Jan 01 2000, Marc Langer wrote:
> I think I've found a bug in the "batcher" of INN 2.2.2:
> It doesn't remove sent entries from the spoolfile.
The bug is fixed already, see the latest snapshots (STABLE) in
ftp://ftp.isc.org/inn/snapshots.
If you want to recompile batcher only, apply this patch:
diff -urN inn-2.2.2-clean/backends/batcher.c inn-2.2.2/backends/batcher.c
--- inn-2.2.2-clean/backends/batcher.c Mon Dec 13 14:18:37 1999
+++ inn-2.2.2/backends/batcher.c Thu Dec 23 18:04:13 1999
@@ -122,7 +122,7 @@
/* Last batch exit okay? */
if (BATCHstatus == 0) {
- if (feof(stdin) && Cookie == -1) {
+ if (feof(stdin) && Cookie != -1) {
/* Yes, and we're all done -- remove input and exit. */
(void)fclose(stdin);
if (Input)
-- Heinz
More information about the inn-bugs
mailing list