Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: jeremie.galarneau@efficios.com (Jérémie Galarneau)
Subject: [lttng-dev] [PATCH babeltrace 2/2] Fix: strerror_r behavior is glibc specific
Date: Tue, 31 May 2016 01:53:09 -0400	[thread overview]
Message-ID: <CA+jJMxuFS=K5COp8zPKgnoV=jusja8ifekPWkTXy74yO7u9cdg@mail.gmail.com> (raw)
In-Reply-To: <1464640742-24658-2-git-send-email-mjeanson@efficios.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Merged in master and stable-1.4. Thanks!

Jérémie

On Mon, May 30, 2016 at 4:39 PM, Michael Jeanson <mjeanson at efficios.com> wrote:
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
>  include/babeltrace/compat/string.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/babeltrace/compat/string.h b/include/babeltrace/compat/string.h
> index 7a574e6..6092616 100644
> --- a/include/babeltrace/compat/string.h
> +++ b/include/babeltrace/compat/string.h
> @@ -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
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


  reply	other threads:[~2016-05-31  5:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 20:39 [lttng-dev] [PATCH babeltrace 1/2] sys/param.h is required for MAXNAMLEN on musl libc Michael Jeanson
2016-05-30 20:39 ` [lttng-dev] [PATCH babeltrace 2/2] Fix: strerror_r behavior is glibc specific Michael Jeanson
2016-05-31  5:53   ` Jérémie Galarneau [this message]
2016-05-31  5:53 ` [lttng-dev] [PATCH babeltrace 1/2] sys/param.h is required for MAXNAMLEN on musl libc Jérémie Galarneau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+jJMxuFS=K5COp8zPKgnoV=jusja8ifekPWkTXy74yO7u9cdg@mail.gmail.com' \
    --to=jeremie.galarneau@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox