Re: breaking dependencies

2011-02-19 Thread Thien-Thi Nguyen
() Bruno Haible () Sat, 19 Feb 2011 02:12:07 +0100 The costs that I can see are two-fold: 1) Additional modules; users have to read some documentation before they can decide whether they need, say, 'strstr' or 'strstr-simple'. As a gnulib user, this cost does not strike

Re: git-version-gen headaches

2011-02-19 Thread Jim Meyering
Jim Meyering wrote: > Mike Frysinger wrote: >> the current git-version-gen script and its usage in packages such as >> coreutils >> is causing me headaches wrt distros. it currently assumes one of two states: >> - the current tree is a valid git repo belonging to the related project >>

Re: git-version-gen headaches

2011-02-19 Thread Jim Meyering
Mike Frysinger wrote: > the current git-version-gen script and its usage in packages such as coreutils > is causing me headaches wrt distros. it currently assumes one of two states: > - the current tree is a valid git repo belonging to the related project > - the current tree is not a

Re: * NEWS: Mention 2011-02-08 change to stdlib.

2011-02-19 Thread Paul Eggert
On 02/19/2011 08:13 AM, Simon Josefsson wrote: > we should try to make gnulib's stdlib.h set RAND_MAX if it is not available > from the system's stdlib.h. If it's cheap, that'd be fine, but if it's expensive to determine this at configure-time I don't see why. There aren't practical instances of

Re: * NEWS: Mention 2011-02-08 change to stdlib.

2011-02-19 Thread Bruno Haible
Hi Simon, > (The reason I added struct random_data detection to stdlib.h was IIRC > that I only needed the struct and not the functions, so pulling in the > entire functions would be wasteful for me.) Can you please show us the place where you use 'struct random_data' but not the functions? When

Re: * NEWS: Mention 2011-02-08 change to stdlib.

2011-02-19 Thread Simon Josefsson
Eric Blake writes: > On 02/19/2011 08:38 AM, Simon Josefsson wrote: >> Paul Eggert writes: >> >>> +2011-02-08 stdlib Unless the random_r module is also used, this >>> +module no longer guarantees that the following >>> are >>> +

Re: * NEWS: Mention 2011-02-08 change to stdlib.

2011-02-19 Thread Eric Blake
On 02/19/2011 08:38 AM, Simon Josefsson wrote: > Paul Eggert writes: > >> +2011-02-08 stdlib Unless the random_r module is also used, this >> +module no longer guarantees that the following >> are >> +defined: struct random_data,

Re: * NEWS: Mention 2011-02-08 change to stdlib.

2011-02-19 Thread Simon Josefsson
Paul Eggert writes: > +2011-02-08 stdlib Unless the random_r module is also used, this > +module no longer guarantees that the following > are > +defined: struct random_data, RAND_MAX, random_r, > +sran

Re: [PATCH] stdint: omit redundant check for wchar.h

2011-02-19 Thread Bruno Haible
Paul Eggert wrote: > * m4/stdint.m4 (gl_STDINT_H): The earlier part of this macro now > always tests whether wchar.h exists, so remove the now-redundant test. Thanks. I missed that. Btw, the doc is incomplete: In [1] and [2] we found two platforms on which WCHAR_MIN and WCHAR_MAX are only defined