[Lsb-messages] /var/www/bzr/lsb/devel/devchk r2397: devchk wchar native fixups

Mats Wichmann mats at linuxfoundation.org
Thu Feb 20 17:38:33 UTC 2014


------------------------------------------------------------
revno: 2397
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: devchk
timestamp: Thu 2014-02-20 10:38:33 -0700
message:
  devchk wchar native fixups
added:
  ts/devchk/lsb_wchar_h.inc
modified:
  ts/devchk/lsb_wchar_h.c
  ts/devchk/wchar_h.c
  ts/devchk/wchar_h.inc
-------------- next part --------------
=== modified file 'ts/devchk/lsb_wchar_h.c'
--- a/ts/devchk/lsb_wchar_h.c	2013-09-04 17:06:14 +0000
+++ b/ts/devchk/lsb_wchar_h.c	2014-02-20 17:38:33 +0000
@@ -7,6 +7,13 @@
 #include <string.h>
 #include <sys/types.h>
 #define _LSB_DEFAULT_ARCH 1
+#ifndef LSBCC_MODE
+/*
+ * some hacks below for native headers: lsb/wchar.h is just for LSB,
+ * to check definitions against upstream we need the "real" header
+ */
+#include <wchar.h>
+#endif
 #include "lsb/wchar.h"
 
 

=== added file 'ts/devchk/lsb_wchar_h.inc'
--- a/ts/devchk/lsb_wchar_h.inc	1970-01-01 00:00:00 +0000
+++ b/ts/devchk/lsb_wchar_h.inc	2014-02-20 17:38:33 +0000
@@ -0,0 +1,7 @@
+#ifndef LSBCC_MODE
+/*
+ * some hacks below for native headers: lsb/wchar.h is just for LSB,
+ * to check definitions against upstream we need the "real" header
+ */
+#include <wchar.h>
+#endif

=== modified file 'ts/devchk/wchar_h.c'
--- a/ts/devchk/wchar_h.c	2013-09-04 17:06:14 +0000
+++ b/ts/devchk/wchar_h.c	2014-02-20 17:38:33 +0000
@@ -16,6 +16,7 @@
 #undef __USE_FORTIFY_LEVEL
 #endif
 #define __USE_FORTIFY_LEVEL 2
+#include <wctype.h>
 #endif
 #include <stdarg.h>
 #ifndef LSBCC_MODE

=== modified file 'ts/devchk/wchar_h.inc'
--- a/ts/devchk/wchar_h.inc	2009-11-05 17:00:05 +0000
+++ b/ts/devchk/wchar_h.inc	2014-02-20 17:38:33 +0000
@@ -7,6 +7,7 @@
 #undef __USE_FORTIFY_LEVEL
 #endif
 #define __USE_FORTIFY_LEVEL 2
+#include <wctype.h>
 #endif
 #include <stdarg.h>
 #ifndef LSBCC_MODE



More information about the lsb-messages mailing list