[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2095: Push POSIX version constants to current (bug 3469)

Mats Wichmann mats at linuxfoundation.org
Sat Mar 9 00:27:37 UTC 2013


------------------------------------------------------------
revno: 2095
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Fri 2013-03-08 17:27:37 -0700
message:
  Push POSIX version constants to current (bug 3469)
modified:
  headers/All/5.0/unistd.h.defs
  headers/unistd.h
  package/Makefile
-------------- next part --------------
=== modified file 'headers/All/5.0/unistd.h.defs'
--- a/headers/All/5.0/unistd.h.defs	2013-02-05 15:04:13 +0000
+++ b/headers/All/5.0/unistd.h.defs	2013-03-09 00:27:37 +0000
@@ -18,23 +18,47 @@
 #define R_OK	4
 
 #define _POSIX_VDISABLE	'\0'
+#define _POSIX_ASYNC_IO	0
 #define _POSIX_CHOWN_RESTRICTED	1
 #define _POSIX_JOB_CONTROL	1
 #define _POSIX_NO_TRUNC	1
 #define _POSIX_SHELL	1
-#define _POSIX2_C_BIND	200112L
-#define _POSIX2_VERSION	200112L
-#define _POSIX_FSYNC	200112L
-#define _POSIX_MAPPED_FILES	200112L
-#define _POSIX_MEMLOCK	200112L
-#define _POSIX_MEMLOCK_RANGE	200112L
-#define _POSIX_MEMORY_PROTECTION	200112L
-#define _POSIX_SEMAPHORES	200112L
-#define _POSIX_SHARED_MEMORY_OBJECTS	200112L
-#define _POSIX_THREADS	200112L
-#define _POSIX_THREAD_PROCESS_SHARED	200112L
-#define _POSIX_TIMERS	200112L
-#define _POSIX_VERSION	200112L
+#define _POSIX2_CHAR_TERM	200809L
+#define _POSIX2_C_BIND	200809L
+#define _POSIX2_LOCALEDEF	200809L
+#define _POSIX2_VERSION	200809L
+#define _POSIX_ADVISORY_INFO	200809L
+#define _POSIX_BARRIERS	200809L
+#define _POSIX_CLOCK_SELECTION	200809L
+#define _POSIX_FSYNC	200809L
+#define _POSIX_IPV6	200809L
+#define _POSIX_MAPPED_FILES	200809L
+#define _POSIX_MEMLOCK	200809L
+#define _POSIX_MEMLOCK_RANGE	200809L
+#define _POSIX_MEMORY_PROTECTION	200809L
+#define _POSIX_MESSAGE_PASSING	200809L
+#define _POSIX_PRIORITIZED_IO	200809L
+#define _POSIX_PRIORITY_SCHEDULING	200809L
+#define _POSIX_RAW_SOCKETS	200809L
+#define _POSIX_READER_WRITER_LOCKS	200809L
+#define _POSIX_REALTIME_SIGNALS	200809L
+#define _POSIX_SEMAPHORES	200809L
+#define _POSIX_SHARED_MEMORY_OBJECTS	200809L
+#define _POSIX_SPAWN	200809L
+#define _POSIX_SPIN_LOCKS	200809L
+#define _POSIX_SYNCHRONIZED_IO	200809L
+#define _POSIX_THREADS	200809L
+#define _POSIX_THREAD_ATTR_STACKADDR	200809L
+#define _POSIX_THREAD_ATTR_STACKSIZE	200809L
+#define _POSIX_THREAD_PRIORITY_SCHEDULING	200809L
+#define _POSIX_THREAD_PRIO_INHERIT	200809L
+#define _POSIX_THREAD_PRIO_PROTECT	200809L
+#define _POSIX_THREAD_PROCESS_SHARED	200809L
+#define _POSIX_THREAD_ROBUST_PRIO_INHERIT	200809L
+#define _POSIX_THREAD_SAFE_FUNCTIONS	200809L
+#define _POSIX_TIMEOUTS	200809L
+#define _POSIX_TIMERS	200809L
+#define _POSIX_VERSION	200809L
 
 #define _PC_LINK_MAX	0
 #define _PC_MAX_CANON	1
@@ -280,7 +304,7 @@
 #define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS	1115
 
 #define _XOPEN_XPG4	1
-#define _XOPEN_VERSION	500
+#define _XOPEN_VERSION	700
 
 #define F_ULOCK	0
 #define F_LOCK	1

=== modified file 'headers/unistd.h'
--- a/headers/unistd.h	2013-03-07 15:21:54 +0000
+++ b/headers/unistd.h	2013-03-09 00:27:37 +0000
@@ -50,6 +50,7 @@
 
 
 #if __LSB_VERSION__ >= 12
+#if __LSB_VERSION__ < 50
 #define _POSIX2_VERSION	200112L
 #define _POSIX_FSYNC	200112L
 #define _POSIX_MAPPED_FILES	200112L
@@ -61,6 +62,8 @@
 #define _POSIX_THREAD_PROCESS_SHARED	200112L
 #define _POSIX_TIMERS	200112L
 #define _POSIX_VERSION	200112L
+#endif				/* __LSB_VERSION__ < 5.0 */
+
 #endif				/* __LSB_VERSION__ >= 1.2 */
 
 #if __LSB_VERSION__ >= 13
@@ -72,10 +75,53 @@
 #if __LSB_VERSION__ >= 20
 #define _POSIX_JOB_CONTROL	1
 #define _POSIX_SHELL	1
+#if __LSB_VERSION__ < 50
 #define _POSIX2_C_BIND	200112L
 #define _POSIX_THREADS	200112L
+#endif				/* __LSB_VERSION__ < 5.0 */
+
 #endif				/* __LSB_VERSION__ >= 2.0 */
 
+#if __LSB_VERSION__ >= 50
+#define _POSIX_ASYNC_IO	0
+#define _POSIX2_CHAR_TERM	200809L
+#define _POSIX2_C_BIND	200809L
+#define _POSIX2_LOCALEDEF	200809L
+#define _POSIX2_VERSION	200809L
+#define _POSIX_ADVISORY_INFO	200809L
+#define _POSIX_BARRIERS	200809L
+#define _POSIX_CLOCK_SELECTION	200809L
+#define _POSIX_FSYNC	200809L
+#define _POSIX_IPV6	200809L
+#define _POSIX_MAPPED_FILES	200809L
+#define _POSIX_MEMLOCK	200809L
+#define _POSIX_MEMLOCK_RANGE	200809L
+#define _POSIX_MEMORY_PROTECTION	200809L
+#define _POSIX_MESSAGE_PASSING	200809L
+#define _POSIX_PRIORITIZED_IO	200809L
+#define _POSIX_PRIORITY_SCHEDULING	200809L
+#define _POSIX_RAW_SOCKETS	200809L
+#define _POSIX_READER_WRITER_LOCKS	200809L
+#define _POSIX_REALTIME_SIGNALS	200809L
+#define _POSIX_SEMAPHORES	200809L
+#define _POSIX_SHARED_MEMORY_OBJECTS	200809L
+#define _POSIX_SPAWN	200809L
+#define _POSIX_SPIN_LOCKS	200809L
+#define _POSIX_SYNCHRONIZED_IO	200809L
+#define _POSIX_THREADS	200809L
+#define _POSIX_THREAD_ATTR_STACKADDR	200809L
+#define _POSIX_THREAD_ATTR_STACKSIZE	200809L
+#define _POSIX_THREAD_PRIORITY_SCHEDULING	200809L
+#define _POSIX_THREAD_PRIO_INHERIT	200809L
+#define _POSIX_THREAD_PRIO_PROTECT	200809L
+#define _POSIX_THREAD_PROCESS_SHARED	200809L
+#define _POSIX_THREAD_ROBUST_PRIO_INHERIT	200809L
+#define _POSIX_THREAD_SAFE_FUNCTIONS	200809L
+#define _POSIX_TIMEOUTS	200809L
+#define _POSIX_TIMERS	200809L
+#define _POSIX_VERSION	200809L
+#endif				/* __LSB_VERSION__ >= 5.0 */
+
 
 
 
@@ -357,9 +403,16 @@
 
 #if __LSB_VERSION__ >= 12
 #define _XOPEN_XPG4	1
+#if __LSB_VERSION__ < 50
 #define _XOPEN_VERSION	500
+#endif				/* __LSB_VERSION__ < 5.0 */
+
 #endif				/* __LSB_VERSION__ >= 1.2 */
 
+#if __LSB_VERSION__ >= 50
+#define _XOPEN_VERSION	700
+#endif				/* __LSB_VERSION__ >= 5.0 */
+
 
 
 

=== modified file 'package/Makefile'
--- a/package/Makefile	2013-03-08 17:17:14 +0000
+++ b/package/Makefile	2013-03-09 00:27:37 +0000
@@ -46,7 +46,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=5
+RPM_PACKAGE_RELEASE=6
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)



More information about the lsb-messages mailing list