summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2aaf846)
raw | patch | inline | side by side (parent: 2aaf846)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 25 Apr 2009 22:33:09 +0000 (00:33 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 25 Apr 2009 22:33:09 +0000 (00:33 +0200) |
This should hopefully give us strerror_r and strdup and similar neat
functions.
functions.
diff --git a/src/filter_chain.c b/src/filter_chain.c
index 01688ee2d397b8cb3f1ee14f73bbac560b2d7c46..713a354898dfb0efe853517a34b033daeb2a0872 100644 (file)
--- a/src/filter_chain.c
+++ b/src/filter_chain.c
#endif
#define _POSIX_C_SOURCE 200112L
-#if 0
-/* Single UNIX needed for strdup. */
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif
-#define _XOPEN_SOURCE 500
-#endif
+#define _XOPEN_SOURCE 600
#ifndef _REENTRANT
# define _REENTRANT
index f62994c6d02b5abd4101f15fb8511c508d21b04f..1c67ab72530f1551769810c6797cda064d36eb3b 100644 (file)
#ifndef _POSIX_C_SOURCE
# define _POSIX_C_SOURCE 200112L
#endif
+#ifndef _XOPEN_SOURCE
+# define _XOPEN_SOURCE 600
+#endif
#ifndef _REENTRANT
# define _REENTRANT
#endif
diff --git a/src/meta_data.c b/src/meta_data.c
index 1412f7effe92a5369995113959025987fc949994..0c0d8dba2d07ad3394b9e72b61fd130b0c9d5586 100644 (file)
--- a/src/meta_data.c
+++ b/src/meta_data.c
#endif
#define _POSIX_C_SOURCE 200112L
-#if 0
-/* Single UNIX needed for strdup. */
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif
-#define _XOPEN_SOURCE 500
-#endif
+#define _XOPEN_SOURCE 600
#ifndef _REENTRANT
# define _REENTRANT
index 9ee1518a09e7791a89ee535a94a7b7da79ffa69b..2c92652ab822fd89c7801ab3ac3e34c00cb47edb 100644 (file)
#endif
#define _POSIX_C_SOURCE 200112L
-#if 0
-/* Single UNIX needed for strdup. */
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif
-#define _XOPEN_SOURCE 500
-#endif
+#define _XOPEN_SOURCE 600
#ifndef _REENTRANT
# define _REENTRANT
diff --git a/src/target_replace.c b/src/target_replace.c
index 3f983c860b0df520862940aca61c9f9b183cfc82..8502c9d0d0193311752b2b8ad7f7c5092a6e68ef 100644 (file)
--- a/src/target_replace.c
+++ b/src/target_replace.c
#endif
#define _POSIX_C_SOURCE 200112L
-#if 0
-/* Single UNIX needed for strdup. */
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif
-#define _XOPEN_SOURCE 500
-#endif
+#define _XOPEN_SOURCE 600
#ifndef _REENTRANT
# define _REENTRANT
diff --git a/src/target_set.c b/src/target_set.c
index 19ff7b92ada29a39a1ed4da799515b0a57b525d1..61b50b646a95e8c57f79771d85b85b698681c276 100644 (file)
--- a/src/target_set.c
+++ b/src/target_set.c
#endif
#define _POSIX_C_SOURCE 200112L
-#if 0
-/* Single UNIX needed for strdup. */
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif
-#define _XOPEN_SOURCE 500
-#endif
+#define _XOPEN_SOURCE 600
#ifndef _REENTRANT
# define _REENTRANT
diff --git a/src/utils_match.h b/src/utils_match.h
index a39c8694b8a28fd93d69db0c196c05e8474c8f7e..a32a6fe065656f7b04fe2007f92bcbe5e53f9371 100644 (file)
--- a/src/utils_match.h
+++ b/src/utils_match.h
*
* DESCRIPTION
* Returns the pointer passed to `match_create_callback' or a pointer to the
- * `cu_match_value_t' structure allocated by `match_create_callback'.
+ * `cu_match_value_t' structure allocated by `match_create_simple'.
*/
void *match_get_user_data (cu_match_t *obj);