bug? mmap doesn't like 0-length files

Nobody nobody at nowhere.com
Mon Nov 22 22:42:55 EST 2010


On Mon, 22 Nov 2010 20:33:08 -0500, Neal Becker wrote:

> I don't see anything in linux man-page about the underlying C mmap function 
> not accepting 0-length files.

My mmap(2) manpage says:

	ERRORS
	...
	       EINVAL (since Linux 2.6.12) length was 0.




More information about the Python-list mailing list