[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2146: add sysexits.h (bug 3818)

Mats Wichmann mats at linuxfoundation.org
Wed Aug 28 23:19:29 UTC 2013


------------------------------------------------------------
revno: 2146
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Wed 2013-08-28 17:19:29 -0600
message:
  add sysexits.h (bug 3818)
added:
  headers/All/3.0/sysexits.h.defs
  headers/All/3.1/sysexits.h.defs
  headers/All/3.2/sysexits.h.defs
  headers/All/4.0/sysexits.h.defs
  headers/All/4.1/sysexits.h.defs
  headers/All/5.0/sysexits.h.defs
  headers/IA32/3.0/sysexits.h.defs
  headers/IA32/3.1/sysexits.h.defs
  headers/IA32/3.2/sysexits.h.defs
  headers/IA32/4.0/sysexits.h.defs
  headers/IA32/4.1/sysexits.h.defs
  headers/IA32/5.0/sysexits.h.defs
  headers/IA64/3.0/sysexits.h.defs
  headers/IA64/3.1/sysexits.h.defs
  headers/IA64/3.2/sysexits.h.defs
  headers/IA64/4.0/sysexits.h.defs
  headers/IA64/4.1/sysexits.h.defs
  headers/IA64/5.0/sysexits.h.defs
  headers/PPC32/3.0/sysexits.h.defs
  headers/PPC32/3.1/sysexits.h.defs
  headers/PPC32/3.2/sysexits.h.defs
  headers/PPC32/4.0/sysexits.h.defs
  headers/PPC32/4.1/sysexits.h.defs
  headers/PPC32/5.0/sysexits.h.defs
  headers/PPC64/3.0/sysexits.h.defs
  headers/PPC64/3.1/sysexits.h.defs
  headers/PPC64/3.2/sysexits.h.defs
  headers/PPC64/4.0/sysexits.h.defs
  headers/PPC64/4.1/sysexits.h.defs
  headers/PPC64/5.0/sysexits.h.defs
  headers/S390/3.0/sysexits.h.defs
  headers/S390/3.1/sysexits.h.defs
  headers/S390/3.2/sysexits.h.defs
  headers/S390/4.0/sysexits.h.defs
  headers/S390/4.1/sysexits.h.defs
  headers/S390/5.0/sysexits.h.defs
  headers/S390X/3.0/sysexits.h.defs
  headers/S390X/3.1/sysexits.h.defs
  headers/S390X/3.2/sysexits.h.defs
  headers/S390X/4.0/sysexits.h.defs
  headers/S390X/4.1/sysexits.h.defs
  headers/S390X/5.0/sysexits.h.defs
  headers/sysexits.h
  headers/x86-64/3.0/sysexits.h.defs
  headers/x86-64/3.1/sysexits.h.defs
  headers/x86-64/3.2/sysexits.h.defs
  headers/x86-64/4.0/sysexits.h.defs
  headers/x86-64/4.1/sysexits.h.defs
  headers/x86-64/5.0/sysexits.h.defs
modified:
  headers/lsb/Composite.h
  headers/lsb/pthread.h
  headers/lsb/time.h
  headers/lsb/types.h
  headers/lsb/wchar.h
  package/Makefile
-------------- next part --------------
=== added file 'headers/All/3.0/sysexits.h.defs'
=== added file 'headers/All/3.1/sysexits.h.defs'
=== added file 'headers/All/3.2/sysexits.h.defs'
=== added file 'headers/All/4.0/sysexits.h.defs'
=== added file 'headers/All/4.1/sysexits.h.defs'
=== added file 'headers/All/5.0/sysexits.h.defs'
--- a/headers/All/5.0/sysexits.h.defs	1970-01-01 00:00:00 +0000
+++ b/headers/All/5.0/sysexits.h.defs	2013-08-28 23:19:29 +0000
@@ -0,0 +1,18 @@
+
+#define EX_OK	0		/* successful termination  */
+#define EX_USAGE	64	/* command line usage error  */
+#define EX__BASE	64	/* base value for error messages  */
+#define EX_DATAERR	65	/* data format error  */
+#define EX_NOINPUT	66	/* cannot open input  */
+#define EX_NOUSER	67	/* addressee unknown  */
+#define EX_NOHOST	68	/* host name unknown  */
+#define EX_UNAVAILABLE	69	/* service unavailable  */
+#define EX_SOFTWARE	70	/* internal software error  */
+#define EX_OSERR	71	/* system error (e.g., cannot fork)  */
+#define EX_OSFILE	72	/* critical OS file missing  */
+#define EX_CANTCREAT	73	/* cannot create (user) output file  */
+#define EX_IOERR	74	/* input/output error  */
+#define EX_TEMPFAIL	75	/* temp failure; user is invited to retry  */
+#define EX_PROTOCOL	76	/* remote error in protocol  */
+#define EX_NOPERM	77	/* permission denied  */
+#define EX_CONFIG	78	/* configuration error  */

=== added file 'headers/IA32/3.0/sysexits.h.defs'
=== added file 'headers/IA32/3.1/sysexits.h.defs'
=== added file 'headers/IA32/3.2/sysexits.h.defs'
=== added file 'headers/IA32/4.0/sysexits.h.defs'
=== added file 'headers/IA32/4.1/sysexits.h.defs'
=== added file 'headers/IA32/5.0/sysexits.h.defs'
--- a/headers/IA32/5.0/sysexits.h.defs	1970-01-01 00:00:00 +0000
+++ b/headers/IA32/5.0/sysexits.h.defs	2013-08-28 23:19:29 +0000
@@ -0,0 +1,5 @@
+
+/*
+ * This header is architecture neutral
+ * Please refer to the generic specification for details
+ */

=== added file 'headers/IA64/3.0/sysexits.h.defs'
=== added file 'headers/IA64/3.1/sysexits.h.defs'
=== added file 'headers/IA64/3.2/sysexits.h.defs'
=== added file 'headers/IA64/4.0/sysexits.h.defs'
=== added file 'headers/IA64/4.1/sysexits.h.defs'
=== added file 'headers/IA64/5.0/sysexits.h.defs'
--- a/headers/IA64/5.0/sysexits.h.defs	1970-01-01 00:00:00 +0000
+++ b/headers/IA64/5.0/sysexits.h.defs	2013-08-28 23:19:29 +0000
@@ -0,0 +1,5 @@
+
+/*
+ * This header is architecture neutral
+ * Please refer to the generic specification for details
+ */

=== added file 'headers/PPC32/3.0/sysexits.h.defs'
=== added file 'headers/PPC32/3.1/sysexits.h.defs'
=== added file 'headers/PPC32/3.2/sysexits.h.defs'
=== added file 'headers/PPC32/4.0/sysexits.h.defs'
=== added file 'headers/PPC32/4.1/sysexits.h.defs'
=== added file 'headers/PPC32/5.0/sysexits.h.defs'
--- a/headers/PPC32/5.0/sysexits.h.defs	1970-01-01 00:00:00 +0000
+++ b/headers/PPC32/5.0/sysexits.h.defs	2013-08-28 23:19:29 +0000
@@ -0,0 +1,5 @@
+
+/*
+ * This header is architecture neutral
+ * Please refer to the generic specification for details
+ */

=== added file 'headers/PPC64/3.0/sysexits.h.defs'
=== added file 'headers/PPC64/3.1/sysexits.h.defs'
=== added file 'headers/PPC64/3.2/sysexits.h.defs'
=== added file 'headers/PPC64/4.0/sysexits.h.defs'
=== added file 'headers/PPC64/4.1/sysexits.h.defs'
=== added file 'headers/PPC64/5.0/sysexits.h.defs'
--- a/headers/PPC64/5.0/sysexits.h.defs	1970-01-01 00:00:00 +0000
+++ b/headers/PPC64/5.0/sysexits.h.defs	2013-08-28 23:19:29 +0000
@@ -0,0 +1,5 @@
+
+/*
+ * This header is architecture neutral
+ * Please refer to the generic specification for details
+ */

=== added file 'headers/S390/3.0/sysexits.h.defs'
=== added file 'headers/S390/3.1/sysexits.h.defs'
=== added file 'headers/S390/3.2/sysexits.h.defs'
=== added file 'headers/S390/4.0/sysexits.h.defs'
=== added file 'headers/S390/4.1/sysexits.h.defs'
=== added file 'headers/S390/5.0/sysexits.h.defs'
--- a/headers/S390/5.0/sysexits.h.defs	1970-01-01 00:00:00 +0000
+++ b/headers/S390/5.0/sysexits.h.defs	2013-08-28 23:19:29 +0000
@@ -0,0 +1,5 @@
+
+/*
+ * This header is architecture neutral
+ * Please refer to the generic specification for details
+ */

=== added file 'headers/S390X/3.0/sysexits.h.defs'
=== added file 'headers/S390X/3.1/sysexits.h.defs'
=== added file 'headers/S390X/3.2/sysexits.h.defs'
=== added file 'headers/S390X/4.0/sysexits.h.defs'
=== added file 'headers/S390X/4.1/sysexits.h.defs'
=== added file 'headers/S390X/5.0/sysexits.h.defs'
--- a/headers/S390X/5.0/sysexits.h.defs	1970-01-01 00:00:00 +0000
+++ b/headers/S390X/5.0/sysexits.h.defs	2013-08-28 23:19:29 +0000
@@ -0,0 +1,5 @@
+
+/*
+ * This header is architecture neutral
+ * Please refer to the generic specification for details
+ */

=== modified file 'headers/lsb/Composite.h'
--- a/headers/lsb/Composite.h	2013-08-27 13:54:09 +0000
+++ b/headers/lsb/Composite.h	2013-08-28 23:19:29 +0000
@@ -9,7 +9,7 @@
 #endif
 
 
-/* Special header to avoid header inclusion loops*/
+/* Special header to avoid header inclusion loops */
     typedef Cardinal(*XtOrderProc) (Widget);
 
 #ifdef __cplusplus

=== modified file 'headers/lsb/pthread.h'
--- a/headers/lsb/pthread.h	2013-08-27 13:54:09 +0000
+++ b/headers/lsb/pthread.h	2013-08-28 23:19:29 +0000
@@ -8,7 +8,7 @@
 #endif
 
 
-/* Special header to avoid header inclusion loops*/
+/* Special header to avoid header inclusion loops */
 #if __LSB_VERSION__ >= 12
     typedef unsigned long int pthread_t;
 

=== modified file 'headers/lsb/time.h'
--- a/headers/lsb/time.h	2013-08-27 13:54:09 +0000
+++ b/headers/lsb/time.h	2013-08-28 23:19:29 +0000
@@ -9,7 +9,7 @@
 #endif
 
 
-/* Special header to avoid header inclusion loops*/
+/* Special header to avoid header inclusion loops */
 #if __LSB_VERSION__ >= 12
     struct timeval {
 	time_t tv_sec;

=== modified file 'headers/lsb/types.h'
--- a/headers/lsb/types.h	2013-08-27 13:54:09 +0000
+++ b/headers/lsb/types.h	2013-08-28 23:19:29 +0000
@@ -9,7 +9,7 @@
 #endif
 
 
-/* Special header to avoid header inclusion loops*/
+/* Special header to avoid header inclusion loops */
 #if __LSB_VERSION__ >= 20
 #if defined __i386__
 /* IA32 */

=== modified file 'headers/lsb/wchar.h'
--- a/headers/lsb/wchar.h	2013-08-27 13:54:09 +0000
+++ b/headers/lsb/wchar.h	2013-08-28 23:19:29 +0000
@@ -8,7 +8,7 @@
 #endif
 
 
-/* Special header to avoid header inclusion loops*/
+/* Special header to avoid header inclusion loops */
     typedef unsigned int wint_t;
 
 #if __LSB_VERSION__ >= 12

=== added file 'headers/sysexits.h'
--- a/headers/sysexits.h	1970-01-01 00:00:00 +0000
+++ b/headers/sysexits.h	2013-08-28 23:19:29 +0000
@@ -0,0 +1,37 @@
+#if (__LSB_VERSION__ >= 10 )
+#ifndef _SYSEXITS_H_
+#define _SYSEXITS_H_
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+#if __LSB_VERSION__ >= 50
+#define EX_OK	0		/* successful termination  */
+#define EX_USAGE	64	/* command line usage error  */
+#define EX__BASE	64	/* base value for error messages  */
+#define EX_DATAERR	65	/* data format error  */
+#define EX_NOINPUT	66	/* cannot open input  */
+#define EX_NOUSER	67	/* addressee unknown  */
+#define EX_NOHOST	68	/* host name unknown  */
+#define EX_UNAVAILABLE	69	/* service unavailable  */
+#define EX_SOFTWARE	70	/* internal software error  */
+#define EX_OSERR	71	/* system error (e.g., cannot fork)  */
+#define EX_OSFILE	72	/* critical OS file missing  */
+#define EX_CANTCREAT	73	/* cannot create (user) output file  */
+#define EX_IOERR	74	/* input/output error  */
+#define EX_TEMPFAIL	75	/* temp failure; user is invited to retry  */
+#define EX_PROTOCOL	76	/* remote error in protocol  */
+#define EX_NOPERM	77	/* permission denied  */
+#define EX_CONFIG	78	/* configuration error  */
+#endif				/* __LSB_VERSION__ >= 5.0 */
+
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif				/* protection */
+#endif				/* LSB version */

=== added file 'headers/x86-64/3.0/sysexits.h.defs'
=== added file 'headers/x86-64/3.1/sysexits.h.defs'
=== added file 'headers/x86-64/3.2/sysexits.h.defs'
=== added file 'headers/x86-64/4.0/sysexits.h.defs'
=== added file 'headers/x86-64/4.1/sysexits.h.defs'
=== added file 'headers/x86-64/5.0/sysexits.h.defs'
--- a/headers/x86-64/5.0/sysexits.h.defs	1970-01-01 00:00:00 +0000
+++ b/headers/x86-64/5.0/sysexits.h.defs	2013-08-28 23:19:29 +0000
@@ -0,0 +1,5 @@
+
+/*
+ * This header is architecture neutral
+ * Please refer to the generic specification for details
+ */

=== modified file 'package/Makefile'
--- a/package/Makefile	2013-08-27 13:54:09 +0000
+++ b/package/Makefile	2013-08-28 23:19:29 +0000
@@ -42,7 +42,7 @@
 # Should have leading "."
 # a big number (80-99) is leading up to the next minor spec
 # build_env is version-independent so can wait till late to bump this
-SUB_VERSION=.40
+SUB_VERSION=.41
 
 # 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



More information about the lsb-messages mailing list