Subject: Why was MAP_FILE removed?
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: None <Mark_Weaver@brown.edu>
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.

Opinions?

	Mark
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science

------------------------------------------------------------------------------