pgsql: Provide MAP_FAILED if sys/mman.h doesn't.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Provide MAP_FAILED if sys/mman.h doesn't.
Date: 2012-06-28 18:19:34
Message-ID: E1SkJJW-0001AJ-8R@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Provide MAP_FAILED if sys/mman.h doesn't.

On old HPUX this has to be #defined to -1. It might be that other values
are required on other dinosaur systems, but we'll worry about that when
and if we get reports.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c1494b733015bf09d75c362925ec3f2740a77f73

Modified Files
--------------
src/backend/port/sysv_shmem.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2012-06-29 03:50:04 pgsql: pg_upgrade: fix off-by-one mistake in snprintf
Previous Message Heikki Linnakangas 2012-06-28 17:39:43 pgsql: Update outdated commit; xlp_rem_len field is in page header now.