[PATCH] qsort_r: new module, for GNU-style qsort_r

2014-08-29 Thread Paul Eggert
This works even on FreeBSD, which has an incompatible qsort_r API. * MODULES.html.sh: Add it. * doc/glibc-functions/qsort_r.texi: It's now supported. * lib/qsort.c: New file, taken from glibc with minor changes inside "#ifndef _LIBC" and with an unnecessary "#include " removed. * lib/qsort_r.c: New

Re: mountlist: libmount support on Linux

2014-08-29 Thread Pádraig Brady
On 08/29/2014 03:46 PM, Fridolin Pokorny wrote: > On Fri, 2014-08-29 at 16:02 +0200, Fridolin Pokorny wrote: >> On Wed, 2014-08-27 at 13:06 -0600, Eric Blake wrote: >>> On 08/27/2014 10:15 AM, Pádraig Brady wrote: On 08/27/2014 03:08 PM, Fridolin Pokorny wrote: > diff --git a/lib/mountlist

Re: mountlist: libmount support on Linux

2014-08-29 Thread Fridolin Pokorny
On Fri, 2014-08-29 at 16:02 +0200, Fridolin Pokorny wrote: > On Wed, 2014-08-27 at 13:06 -0600, Eric Blake wrote: > > On 08/27/2014 10:15 AM, Pádraig Brady wrote: > > > On 08/27/2014 03:08 PM, Fridolin Pokorny wrote: > > >> diff --git a/lib/mountlist.c b/lib/mountlist.c > > > > > > Cool, this fits

Re: [PATCH 0/5] obstacks

2014-08-29 Thread Paul Eggert
Sorry, somehow I thought those patches were for glibc review, not gnulib review. The gnulib part is patch 5/5. I see a few problems there: These days _GL_ATTRIBUTE_PURE is defined by m4/gnulib-common.m4 and so there should be no need to include stdwhatever.h to define it if one is using gnul

Re: mountlist: libmount support on Linux

2014-08-29 Thread Fridolin Pokorny
On Wed, 2014-08-27 at 13:06 -0600, Eric Blake wrote: > On 08/27/2014 10:15 AM, Pádraig Brady wrote: > > On 08/27/2014 03:08 PM, Fridolin Pokorny wrote: > >> diff --git a/lib/mountlist.c b/lib/mountlist.c > > > > Cool, this fits well. > > It would be good to mention the functionality and > > perfo

Re: [PATCH 0/5] obstacks

2014-08-29 Thread Alan Modra
On Fri, Aug 29, 2014 at 09:57:49AM +0200, Thien-Thi Nguyen wrote: > () Alan Modra > () Fri, 29 Aug 2014 11:15:57 +0930 > >On Mon, Aug 04, 2014 at 02:16:06PM +0930, Alan Modra wrote: >> On Sat, Jul 26, 2014 at 03:27:07PM +0930, Alan Modra wrote: >> > This patch series gives obstacks so

Re: [PATCH 0/5] obstacks

2014-08-29 Thread Thien-Thi Nguyen
() Alan Modra () Fri, 29 Aug 2014 11:15:57 +0930 On Mon, Aug 04, 2014 at 02:16:06PM +0930, Alan Modra wrote: > On Sat, Jul 26, 2014 at 03:27:07PM +0930, Alan Modra wrote: > > This patch series gives obstacks some much needed TLC. The first patch http://lists.gnu.org/archive/html/bug