Fix: strerror_r behavior is glibc specific
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/2 Fix: strerror_r behavior is glibc specific
Signed-off-by Michael Jeanson <[email protected]>
--- include/babeltrace/compat/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/babeltrace/compat/string.h +1 -1
@@ -26,7 +26,7 @@#include <string.h> #include <stdlib.h> -#if !defined(__linux__) || ((_POSIX_C_SOURCE >=200112L || _XOPEN_SOURCE >=600 ) && !defined(_GNU_SOURCE)) +#if !defined(__GLIBC__) || ((_POSIX_C_SOURCE >=200112L || _XOPEN_SOURCE >=600 ) && !defined(_GNU_SOURCE))/* XSI-compliant strerror_r */ static inline
Signature · 6 lines
2.7.4 _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
A message that is not in the archive (sent off-list or not yet received): [email protected]
Merged in master and stable-1.4. Thanks!
Jérémie
Quoted 21 lines · Michael Jeanson
Signed-off-by Michael Jeanson <[email protected]>--- include/babeltrace/compat/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/babeltrace/compat/string.h +1
-2@@ -26,7 +26,7 @@#include <string.h> #include <stdlib.h> -#if !defined(__linux__) || ((_POSIX_C_SOURCE >=200112L || _XOPEN_SOURCE >=600 ) && !defined(_GNU_SOURCE)) +#if !defined(__GLIBC__) || ((_POSIX_C_SOURCE >=200112L || _XOPEN_SOURCE >=600 ) && !defined(_GNU_SOURCE))/* XSI-compliant strerror_r */ static inline --2.7.4
Signature · 7 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Re: [PATCH babeltrace 1/2] sys/param.h is required for MAXNAMLEN on musl libc
In reply to a message not in the archiveMerged in master and stable-1.4. Thanks!
Jérémie
Quoted 20 lines · Michael Jeanson
Signed-off-by Michael Jeanson <[email protected]>--- formats/lttng-live/lttng-live.h | 1 + 1 file changed, 1 insertion(+)formats/lttng-live/lttng-live.h +1
-1@@ -25,6 +25,7 @@*/ #include <stdint.h> +#include <sys/param.h> #include "lttng-viewer-abi.h" #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT 5344 --2.7.4
Signature · 7 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev