Messages in this thread | | | From | "Bron Gondwana" <> | Subject | Re: BUG: mmapfile/writev spurious zero bytes (x86_64/not i386, bisected, reproducable) | Date | Tue, 17 Jun 2008 16:02:50 +1000 |
| |
On Tue, 17 Jun 2008 16:00:10 +1000, "Bron Gondwana" <brong@fastmail.fm> said: > I apologise for the length of the attached C program. I tried > to make it shorter, but kept not tickling the bug. There's also > another advantage of keeping it like this - it closely mirrors the > Cyrus behaviour, to the point where the output is a valid skiplist > file.
And I appear to have sent the one without the usage comments at the top. Here they are:
* USAGE: * $ gcc -g maptest.c * $ ./a.out z * $ hexdump -C z.NEW * * Notice the block of zero byte records appearing within * the output. * * Run with a second argument: * * $ ./a.out z 1 * $ hexdump -C z.NEW * * No more zeros!
Bron. -- Bron Gondwana brong@fastmail.fm
| |