[Lsb-messages] /var/www/bzr/lsb/devel/devchk r2362: add some constants for POSIX 2008 (bug 3469)

Mats Wichmann mats at linuxfoundation.org
Sun Mar 10 13:55:07 UTC 2013


------------------------------------------------------------
revno: 2362
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: devchk
timestamp: Sun 2013-03-10 07:55:07 -0600
message:
  add some constants for POSIX 2008 (bug 3469)
modified:
  ts/devchk/fcntl_h.c
  ts/devchk/sys_stat_h.c
-------------- next part --------------
=== modified file 'ts/devchk/fcntl_h.c'
--- a/ts/devchk/fcntl_h.c	2013-02-05 13:58:21 +0000
+++ b/ts/devchk/fcntl_h.c	2013-03-10 13:55:07 +0000
@@ -748,6 +748,86 @@
 
 #endif
 
+#if _LSB_DEFAULT_ARCH
+#ifdef AT_FDCWD
+	CompareConstant(AT_FDCWD,-100,24985,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: AT_FDCWD\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
+#ifdef AT_SYMLINK_NOFOLLOW
+	CompareConstant(AT_SYMLINK_NOFOLLOW,0x100,24986,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: AT_SYMLINK_NOFOLLOW\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
+#ifdef AT_REMOVEDIR
+	CompareConstant(AT_REMOVEDIR,0x200,24987,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: AT_REMOVEDIR\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
+#ifdef AT_SYMLINK_FOLLOW
+	CompareConstant(AT_SYMLINK_FOLLOW,0x400,24988,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: AT_SYMLINK_FOLLOW\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
+#ifdef AT_NO_AUTOMOUNT
+	CompareConstant(AT_NO_AUTOMOUNT,0x800,24989,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: AT_NO_AUTOMOUNT\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
+#ifdef AT_EMPTY_PATH
+	CompareConstant(AT_EMPTY_PATH,0x1000,24990,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: AT_EMPTY_PATH\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
+#ifdef AT_EACCESS
+	CompareConstant(AT_EACCESS,0x200,24991,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: AT_EACCESS\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
+#ifdef O_CLOEXEC
+	CompareConstant(O_CLOEXEC,02000000,24992,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: O_CLOEXEC\n");
+cnt++;
+#endif
+
+#endif
+
 #if defined __powerpc64__
 #ifdef O_LARGEFILE
 	CompareConstant(O_LARGEFILE,0200000,3020,architecture,3.2,NULL)

=== modified file 'ts/devchk/sys_stat_h.c'
--- a/ts/devchk/sys_stat_h.c	2013-03-06 23:52:46 +0000
+++ b/ts/devchk/sys_stat_h.c	2013-03-10 13:55:07 +0000
@@ -364,6 +364,26 @@
 #endif
 
 #if _LSB_DEFAULT_ARCH
+#ifdef UTIME_NOW
+	CompareConstant(UTIME_NOW,((1l << 30) - 1l),24983,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: UTIME_NOW\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
+#ifdef UTIME_OMIT
+	CompareConstant(UTIME_OMIT,((1l << 30) - 2l),24984,architecture,5.0,NULL)
+#else
+Msg( "Error: Constant not found: UTIME_OMIT\n");
+cnt++;
+#endif
+
+#endif
+
+#if _LSB_DEFAULT_ARCH
 /* No test for S_ISLNK(m) */
 #endif
 



More information about the lsb-messages mailing list