Willem Jan Withagen 821bcb0b39 util/arena.cc: FreeBSD: More portable use of mmap(MAP_ANON) (#1254)
From the Linux manual:
  MAP_ANONYMOUS
     The  mapping  is  not  backed  by any file; its contents
     are initialized to zero.  The fd and offset arguments are
     ignored; however, some implementations require fd to be -1
     if MAP_ANONYMOUS (or MAP_ANON) is specified, and portable
     applications  should  ensure  this.

FreeBSD is such a case, it wil just return an error.
2016-08-10 13:52:23 -07:00
..
2016-05-06 17:42:50 -07:00
2016-05-23 16:38:25 -07:00
2016-06-01 18:07:59 -07:00
2016-03-17 10:07:21 -07:00
2016-03-17 10:07:21 -07:00
2016-07-15 10:41:36 -07:00
2016-03-11 22:56:25 -08:00
2016-03-15 11:38:15 -07:00
2016-05-23 12:27:27 -07:00
2016-07-15 10:41:36 -07:00
2016-07-08 17:50:51 -07:00
2016-02-17 20:22:40 +08:00
2016-07-15 10:41:36 -07:00
2016-07-15 10:41:36 -07:00
2016-06-10 16:37:36 -07:00
2016-04-01 11:06:06 -07:00
2016-07-08 17:50:51 -07:00