[Swan-dev] error handling in lib/libswan/unbound.c

Paul Wouters paul at nohats.ca
Mon Oct 30 19:12:29 UTC 2017


On Mon, 30 Oct 2017, D. Hugh Redelmeier wrote:

> | Thanks for fixing that. I did re-introduce the ifdef for GLOB_ABORTED,
> | not sure why you removed that.
>
> It was claimed to be with compatability with old code.  Since glob(3)
> is specified by POSIX, I find it hard to believe that the interface
> has changed recently.  Do we support any system that requires this?

It was only added in 2014:

commit 3bcc0de0d62a707cf8c7453e5b2124baa82fe66b
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Tue Jul 8 13:23:48 2014 -0400

     libc: only try to us GNU glob extensions when present.

     Not all non-glibc libraries have these, for example the
     "musl" libc implementation does not have GLOB_BRACE or
     GLOB_NOMAGIC (see man glob)

     Signed-off-by: Paul Wouters <pwouters at redhat.com>

Paul


More information about the Swan-dev mailing list