Re: [Monetdb-developers] MonetDB: default - MAP_ANONYMOUS instead of MAP_ANON
Niels, is this just precaution --- `man mmap` says " MAP_ANON Synonym for MAP_ANONYMOUS. Deprecated. " --- or bug fix that should be back-ported to the Jun2010 branch (I could do that)? Thanks. Stefan On Thu, Jun 17, 2010 at 09:47:40PM +0200, Niels Nes wrote:
Changeset: 57878a477b7c for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=57878a477b7c Modified Files: MonetDB/src/gdk/gdk_posix.mx Branch: default Log Message:
MAP_ANONYMOUS instead of MAP_ANON
diffs (14 lines):
diff -r 99d16aff6ce6 -r 57878a477b7c MonetDB/src/gdk/gdk_posix.mx --- a/MonetDB/src/gdk/gdk_posix.mx Thu Jun 17 14:39:08 2010 +0200 +++ b/MonetDB/src/gdk/gdk_posix.mx Thu Jun 17 21:47:00 2010 +0200 @@ -2105,8 +2105,8 @@
#define MT_PAGESIZE(s) ((((s)-1)/MT_pagesize()+1)*MT_pagesize())
-#if defined(MAP_ANON) -#define MMAP_FLAGS(f) f|MAP_ANON +#if defined(MAP_ANONYMOUS) +#define MMAP_FLAGS(f) f|MAP_ANONYMOUS #define MMAP_FD -1 #define MMAP_OPEN_DEV_ZERO int fd = 1 #define MMAP_CLOSE_DEV_ZERO (void)fd _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4199 |
participants (1)
-
Stefan Manegold