Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 16 Sep 2013 15:40:53 +0200
From: Paul Schutte <sjpschutte@...il.com>
To: musl@...ts.openwall.com
Subject: Re: GLOB_BRACE

Hi Rich,

Thanks. Just wanted to get confirmation in case I missed something.

I guess systemd was written with only linux in mind and therefore used a
lot of glibc specific stuff.

I found a lot of other portability problems since sending this message.

It won't be easy to make systemd work (To me in any case).

Regards
Paul



On Mon, Sep 16, 2013 at 2:50 PM, Rich Felker <dalias@...ifal.cx> wrote:

> On Sun, Sep 15, 2013 at 10:57:20PM +0200, Paul Schutte wrote:
> > Hi,
> >
> > I have hit the next stumbling block (show stopper):
> >
> > src/shared/util.c: In function 'glob_exists':
> > src/shared/util.c:4376:36: error: 'GLOB_BRACE' undeclared (first use in
> > this function)
> > src/shared/util.c:4376:36: note: each undeclared identifier is reported
> > only once for each function it appears in
> >
> >
> > I see this is and non-standard posix extension. I guess that is it for
> > systemd for now then.
>
> The correct action for programs that need GNU functionality like this
> is to include their own copy of the GNU function (usually as part of
> gnulib) and use it if the system does not have it.
>
> In the case of GLOB_BRACE and the other GNU extensions to
> glob/fnmatch, it's not clear to me that they admit an efficient
> in-place implementation, and I doubt they do. That's why musl does not
> support them.
>
> Rich
>

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.