[Lsb-messages] /var/www/bzr/lsb/devel/runtime-test r1265: lsb_issymlink, lsb_devstat already had string.h included - revert

Stew Benedict stewb at linux-foundation.org
Wed Feb 29 18:59:57 UTC 2012


------------------------------------------------------------
revno: 1265
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: runtime-test
timestamp: Wed 2012-02-29 13:59:57 -0500
message:
  lsb_issymlink, lsb_devstat already had string.h included - revert
  lsb_issymlink, lsb_execwithpriv use exit() without #include <stdlib.h> - add
  Fix issue with 32bit binaries in x86_64 build by doing a make clean in lsbutils (bug 3426)
modified:
  harness/vsxgen/SRC/common/lsbutils/lsb_devstat.c
  harness/vsxgen/SRC/common/lsbutils/lsb_execwithpriv.c
  harness/vsxgen/SRC/common/lsbutils/lsb_issymlink.c
  modules/li18nux2k.l1/SRC/common/lsbutils/lsb_devstat.c
  modules/li18nux2k.l1/SRC/common/lsbutils/lsb_execwithpriv.c
  modules/li18nux2k.l1/SRC/common/lsbutils/lsb_issymlink.c
  modules/lsb-fhs/SRC/common/lsbutils/lsb_devstat.c
  modules/lsb-fhs/SRC/common/lsbutils/lsb_execwithpriv.c
  modules/lsb-fhs/SRC/common/lsbutils/lsb_issymlink.c
  modules/lsb-initd/SRC/common/lsbutils/lsb_devstat.c
  modules/lsb-initd/SRC/common/lsbutils/lsb_execwithpriv.c
  modules/lsb-initd/SRC/common/lsbutils/lsb_issymlink.c
  scripts/package/Makefile
  scripts/package/lsb-test-core.spec.sed
  wip/lsbinstall/SRC/common/lsbutils/lsb_devstat.c
  wip/lsbinstall/SRC/common/lsbutils/lsb_execwithpriv.c
  wip/lsbinstall/SRC/common/lsbutils/lsb_issymlink.c
-------------- next part --------------
=== modified file 'harness/vsxgen/SRC/common/lsbutils/lsb_devstat.c'
--- a/harness/vsxgen/SRC/common/lsbutils/lsb_devstat.c	2011-04-27 22:33:56 +0000
+++ b/harness/vsxgen/SRC/common/lsbutils/lsb_devstat.c	2012-02-29 18:59:57 +0000
@@ -15,7 +15,6 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'harness/vsxgen/SRC/common/lsbutils/lsb_execwithpriv.c'
--- a/harness/vsxgen/SRC/common/lsbutils/lsb_execwithpriv.c	2000-11-06 09:00:52 +0000
+++ b/harness/vsxgen/SRC/common/lsbutils/lsb_execwithpriv.c	2012-02-29 18:59:57 +0000
@@ -1,6 +1,7 @@
 /* UNIX Superuser privilege */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include "lsb-fhs-ts.h"
 

=== modified file 'harness/vsxgen/SRC/common/lsbutils/lsb_issymlink.c'
--- a/harness/vsxgen/SRC/common/lsbutils/lsb_issymlink.c	2011-04-27 22:33:56 +0000
+++ b/harness/vsxgen/SRC/common/lsbutils/lsb_issymlink.c	2012-02-29 18:59:57 +0000
@@ -6,11 +6,11 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'modules/li18nux2k.l1/SRC/common/lsbutils/lsb_devstat.c'
--- a/modules/li18nux2k.l1/SRC/common/lsbutils/lsb_devstat.c	2011-04-27 22:33:56 +0000
+++ b/modules/li18nux2k.l1/SRC/common/lsbutils/lsb_devstat.c	2012-02-29 18:59:57 +0000
@@ -15,7 +15,6 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'modules/li18nux2k.l1/SRC/common/lsbutils/lsb_execwithpriv.c'
--- a/modules/li18nux2k.l1/SRC/common/lsbutils/lsb_execwithpriv.c	2002-10-29 15:39:28 +0000
+++ b/modules/li18nux2k.l1/SRC/common/lsbutils/lsb_execwithpriv.c	2012-02-29 18:59:57 +0000
@@ -1,6 +1,7 @@
 /* UNIX Superuser privilege */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include "lsb-fhs-ts.h"
 

=== modified file 'modules/li18nux2k.l1/SRC/common/lsbutils/lsb_issymlink.c'
--- a/modules/li18nux2k.l1/SRC/common/lsbutils/lsb_issymlink.c	2011-04-27 22:33:56 +0000
+++ b/modules/li18nux2k.l1/SRC/common/lsbutils/lsb_issymlink.c	2012-02-29 18:59:57 +0000
@@ -6,11 +6,11 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'modules/lsb-fhs/SRC/common/lsbutils/lsb_devstat.c'
--- a/modules/lsb-fhs/SRC/common/lsbutils/lsb_devstat.c	2011-04-27 22:33:56 +0000
+++ b/modules/lsb-fhs/SRC/common/lsbutils/lsb_devstat.c	2012-02-29 18:59:57 +0000
@@ -45,7 +45,6 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'modules/lsb-fhs/SRC/common/lsbutils/lsb_execwithpriv.c'
--- a/modules/lsb-fhs/SRC/common/lsbutils/lsb_execwithpriv.c	2001-07-18 11:03:01 +0000
+++ b/modules/lsb-fhs/SRC/common/lsbutils/lsb_execwithpriv.c	2012-02-29 18:59:57 +0000
@@ -29,6 +29,7 @@
 /* UNIX Superuser privilege */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include "lsb-fhs-ts.h"
 

=== modified file 'modules/lsb-fhs/SRC/common/lsbutils/lsb_issymlink.c'
--- a/modules/lsb-fhs/SRC/common/lsbutils/lsb_issymlink.c	2011-04-27 22:33:56 +0000
+++ b/modules/lsb-fhs/SRC/common/lsbutils/lsb_issymlink.c	2012-02-29 18:59:57 +0000
@@ -34,11 +34,11 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'modules/lsb-initd/SRC/common/lsbutils/lsb_devstat.c'
--- a/modules/lsb-initd/SRC/common/lsbutils/lsb_devstat.c	2011-04-27 22:33:56 +0000
+++ b/modules/lsb-initd/SRC/common/lsbutils/lsb_devstat.c	2012-02-29 18:59:57 +0000
@@ -55,7 +55,6 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'modules/lsb-initd/SRC/common/lsbutils/lsb_execwithpriv.c'
--- a/modules/lsb-initd/SRC/common/lsbutils/lsb_execwithpriv.c	2005-06-15 04:55:31 +0000
+++ b/modules/lsb-initd/SRC/common/lsbutils/lsb_execwithpriv.c	2012-02-29 18:59:57 +0000
@@ -39,6 +39,7 @@
 /* UNIX Superuser privilege */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include "lsb-fhs-ts.h"
 

=== modified file 'modules/lsb-initd/SRC/common/lsbutils/lsb_issymlink.c'
--- a/modules/lsb-initd/SRC/common/lsbutils/lsb_issymlink.c	2011-04-27 22:33:56 +0000
+++ b/modules/lsb-initd/SRC/common/lsbutils/lsb_issymlink.c	2012-02-29 18:59:57 +0000
@@ -44,11 +44,11 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'scripts/package/Makefile'
--- a/scripts/package/Makefile	2012-02-02 15:59:23 +0000
+++ b/scripts/package/Makefile	2012-02-29 18:59:57 +0000
@@ -1,7 +1,7 @@
 # values used to populate .spec from .spec.sed
 PACKAGE=lsb-test-core
 VERSION=4.1.9
-RELEASE=2
+RELEASE=3
 # PAM Version
 PVERSION=0.99.8.1
 SYSLOGVER=1.4.2rh

=== modified file 'scripts/package/lsb-test-core.spec.sed'
--- a/scripts/package/lsb-test-core.spec.sed	2012-02-02 15:59:23 +0000
+++ b/scripts/package/lsb-test-core.spec.sed	2012-02-29 18:59:57 +0000
@@ -316,6 +316,10 @@
 # and this part of the build fails on lack of NSIG define - use LSB header
 sed -i 's|$(VSXDIR)/SYSINC||g' SRC/common/thrtsetlib/Makefile.org
 
+# our "magic" tet_vsxgen_3.7.tgz tarball has 32bit ia32 binaries in it
+# some systems don't feel the need to rebuild them (bug 3426)
+make -C SRC/common/lsbutils clean
+
 # and do the pre-build
 echo "XXXX Doing the pre-build/configure..."
 %if %{skip_expect}

=== modified file 'wip/lsbinstall/SRC/common/lsbutils/lsb_devstat.c'
--- a/wip/lsbinstall/SRC/common/lsbutils/lsb_devstat.c	2011-04-27 22:33:56 +0000
+++ b/wip/lsbinstall/SRC/common/lsbutils/lsb_devstat.c	2012-02-29 18:59:57 +0000
@@ -52,7 +52,6 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)

=== modified file 'wip/lsbinstall/SRC/common/lsbutils/lsb_execwithpriv.c'
--- a/wip/lsbinstall/SRC/common/lsbutils/lsb_execwithpriv.c	2005-05-26 20:54:44 +0000
+++ b/wip/lsbinstall/SRC/common/lsbutils/lsb_execwithpriv.c	2012-02-29 18:59:57 +0000
@@ -36,6 +36,7 @@
 /* UNIX Superuser privilege */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include "lsb-fhs-ts.h"
 

=== modified file 'wip/lsbinstall/SRC/common/lsbutils/lsb_issymlink.c'
--- a/wip/lsbinstall/SRC/common/lsbutils/lsb_issymlink.c	2011-04-27 22:33:56 +0000
+++ b/wip/lsbinstall/SRC/common/lsbutils/lsb_issymlink.c	2012-02-29 18:59:57 +0000
@@ -41,11 +41,11 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <string.h>
 #include "lsb-fhs-ts.h"
 
 main (argc, argv)



More information about the lsb-messages mailing list