From owner-cvs-lib Sun Mar 8 09:27:46 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA17753 for cvs-lib-outgoing; Sun, 8 Mar 1998 09:27:46 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA17702; Sun, 8 Mar 1998 09:27:39 -0800 (PST) (envelope-from dufault@FreeBSD.org) From: Peter Dufault Received: (from dufault@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA00766; Sun, 8 Mar 1998 09:25:45 -0800 (PST) Date: Sun, 8 Mar 1998 09:25:45 -0800 (PST) Message-Id: <199803081725.JAA00766@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-include@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-share@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/include limits.h signal.h src/lib/libc/gen sysconf.c src/share/man/man9 posix4.9 src/sys/posix4 aio.h mqueue.h posix4.h semaphore.h src/sys/sys _posix.h aio.h mman.h rtprio.h unistd.h Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dufault 1998/03/08 09:25:45 PST Modified files: include limits.h signal.h lib/libc/gen sysconf.c share/man/man9 posix4.9 sys/posix4 aio.h mqueue.h posix4.h semaphore.h sys/sys aio.h mman.h rtprio.h unistd.h Added files: sys/sys _posix.h Log: Reviewed by: bde Changes to support building with _POSIX_SOURCE set to 199309L: 1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any header files; 2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE 3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now defined in POSIX. These show up when: _POSIX_SOURCE and _POSIX_C_SOURCE are not set or _POSIX_C_SOURCE is set >= 199309L and vanish when: _POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L. 4. Explain these in man 9 posix4; 5. Include _posix.h and conditionalize on new feature test. Revision Changes Path 1.7 +10 -4 src/include/limits.h 1.6 +33 -3 src/include/signal.h 1.8 +2 -2 src/lib/libc/gen/sysconf.c 1.2 +40 -27 src/share/man/man9/posix4.9 1.2 +6 -4 src/sys/posix4/aio.h 1.2 +4 -1 src/sys/posix4/mqueue.h 1.2 +5 -13 src/sys/posix4/posix4.h 1.2 +3 -1 src/sys/posix4/semaphore.h 1.4 +1 -35 src/sys/sys/aio.h 1.22 +7 -5 src/sys/sys/mman.h 1.6 +2 -11 src/sys/sys/rtprio.h 1.16 +5 -40 src/sys/sys/unistd.h