Subject: Why was MAP_FILE removed?
To: None <>
From: None <>
List: current-users
Date: 04/07/1994 10:32:02
I think that MAP_FILE should be defined as 0 in mman.h.

I just had to add the following lines to XFree86 to retain
compatibility with older versions of NetBSD as well as FreeBSD:

+ #if defined(__NetBSD__) && !defined(MAP_FILE)
+ #define MAP_FILE 0
+ #endif

This just seems silly and ugly to me.  In the interests of maintaining
compatibility with existing programs, why not?  Besides, if you ask
me, it makes a program more readable to have MAP_FILE in there.


Email:           | Brown University
PGP Key: finger       | Dept of Computer Science