Hi Paul,
On 25 Oct 2010, at 11:35, Paul Eggert wrote:
> When we used the latest gnulib bootstrap with GNU tar,
> it turns out that we lost some functionality that was in the GNU
> tar bootstrap. Sergey caught this just before GNU tar 1.24
> was released. The missing functionality has to do with
When we used the latest gnulib bootstrap with GNU tar,
it turns out that we lost some functionality that was in the GNU
tar bootstrap. Sergey caught this just before GNU tar 1.24
was released. The missing functionality has to do with tar's
need for paxutils as well as for gnulib.
Gary, can you p
On 10/18/2010 11:41 PM, Jim Meyering wrote:
> I have to agree. The whole point of inttostr functions is to
> provide a minimal and robust mechanism for converting integral
> values to strings.
I looked into this some more and came up with a different idea: add a
primitive umax2str that automatic
On 10/24/2010 05:26 PM, Pádraig Brady wrote:
> On a related note I was wondering if we should fall back
> to increasing the buffer by +=BUFSIZ rather than *=2
> when we get ENOMEM?
I wouldn't bother, as it would lead to O(N**2) behavior,
which could well be worse than the problem that it'd cure.
I noticed large realloc()s still being done by fread_file() for the
common case of a regular file. As well as being inefficient,
it could needlessly fail for large files.
$ truncate -s1M t.f
$ ltrace ./a.out < t.f
__libc_start_main(0x8048624, 1, 0xbfd86c34, 0x8048940, 0x8048930
fileno(0x7b7420)
Hi,
I've released a new stable snapshot. See attached NEWS.stable for details.
Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20101024-stable.tar.gz
Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable
Git: git://erislabs.net/gnulib.git tag: stable/201
On 10/22/2010 01:31 PM, Eric Blake wrote:
> Yes, I can live with re-adding that pragma.
OK, thanks, I installed this:
---
ChangeLog| 12
lib/anytostr.c |9 +
lib/imaxtostr.c |1 -
lib/inttostr.c |1 -
lib/offtostr.c |1 -
lib/uinttostr.c |
On 10/24/2010 02:20 AM, Thorsten Glaser wrote:
a minimally POSIX compliant setlocale() function ought to return NULL when
asked to set such a locale.
But the system doesn’t even know about charsets.
But it can be as simple as
set = strchr (locale, ".");
if (!set
|| !strcmp (set, ".UTF-8"