batcher f5069.n550.z2 skipping "@03014255464630300000000267730000..." too long
Katsuhiro Kondou
kondou at nec.co.jp
Thu Jul 6 22:43:56 UTC 2000
In article <87bt0bafbc.fsf at neva.vlink.ru>,
Denis Shaposhnikov <dsh at neva.vlink.ru> wrote;
} Katsuhiro> } and when I add '-u' option (disable buffering) no 'too
} Katsuhiro> long' errors } anymore.
}
} Katsuhiro> How about '-b'? Still the problem happens with it? --
}
} Yes, it still happens. And it looks like even more.
Hm, can you examine file size on your system with attached?
It does almost what batcher does without -u.
--
Katsuhiro Kondou
# include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
main () {
FILE *F;
int fd, i;
char line[128];
fd = open("testfile", O_WRONLY | O_APPEND | O_CREAT, 0666);
F = fdopen(fd, "a");
memset(line, '\0', 128);
for (i = 0 ; i < 1024 ; i++)
fwrite(line, 1, 128, F);
fclose(F);
}
More information about the inn-bugs
mailing list