Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 29 Nov 2013 12:49:55 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Latest pkgsrc results [What builds on musl 0.9.13?]

On Wed, Nov 27, 2013 at 09:23:27PM -0600, Rob Landley wrote:
> On 11/08/2013 11:20:10 PM, Rich Felker wrote:
> >On Sat, Nov 09, 2013 at 05:02:52AM +0100, Szabolcs Nagy wrote:
> >> * Rich Felker <dalias@...ifal.cx> [2013-11-08 20:01:30 -0500]:
> >> > > 	at least mysql5-client config uses getconf
> >> >
> >> > Hm? We should probably provide a getconf that works with musl
> >> > somewhere...
> >>
> >> maybe landley could do one for toybox.. :)
> >
> >I'm not clear on how easy it is to do in a libc-agnostic way, but if
> >possible that would definitely be a nice solution.
> 
> It's already in the toybox roadmap because posix specifies it:
> 
>   http;//landley.net/toybox/roadmap.html
>   http://opengroup.org/onlinepubs/9699919799/utilities/getconf.html
> 
> And they say it stacks on top of sysconf(), confstr(), and limits.h.
> Plus the implementation may add "other local values"...

Adding the "other local values" is the only problematic part, since
there's no portable way to enumerate them. You could probably use some
$CC -dM magic to get a list of the SC_*, PC_*, and CS_* macros though.

Rich

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.