in reply to Missing bytes??
You are reading from the file in two locations:
while (<FILE>) { ... read(FILE, $buf, 1);
More likely you want while (! eof FILE) { instead of reading a line from FILE and then reading another byte from FILE.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Missing bytes??
by ikegami (Patriarch) on Apr 06, 2008 at 16:22 UTC | |
|
Re^2: Missing bytes??
by stevee (Acolyte) on Apr 06, 2008 at 15:40 UTC | |
by Anonymous Monk on Apr 07, 2008 at 09:26 UTC |