pgsql: Provide MAP_FAILED if sys/mman.h doesn't. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Provide MAP_FAILED if sys/mman.h doesn't.
Date
Msg-id E1SkJJW-0001AJ-8R@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Update outdated commit; xlp_rem_len field is in page header now.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: pg_upgrade: fix off-by-one mistake in snprintf