Re: Remove dependency of getdelim on realloc-posix

2016-08-18 Thread Paul Eggert
Bruno Haible wrote: I think the correction should be to put back the errno = ENOMEM; statement (in __set_errno disguise, if you prefer that). Thanks for catching that. I installed the attached. >From 10dd4d106b699baaef466da21d796ddb80a7b5e5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Th

Re: Remove dependency of getdelim on realloc-posix

2016-08-18 Thread Bruno Haible
Hi Paul, > Thanks for reporting that. I installed into Gnulib the attached > somewhat-more-elaborate patch, which should fix the problem. The change in lib/canonicalize-lgpl.c line 288 (after the 'malloca' call) looks like a mistake to me. malloca() is not specified to set errno upon failure (se

Re: Remove dependency of getdelim on realloc-posix

2016-08-17 Thread Paul Eggert
Thanks for reporting that. I installed into Gnulib the attached somewhat-more-elaborate patch, which should fix the problem. >From 62dac84a8a9ce9cee76736e493a8ff8bcd71229d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 17 Aug 2016 15:01:50 -0700 Subject: [PATCH] getdelim: remove dependen

Re: Remove dependency of getdelim on realloc-posix

2016-08-13 Thread Gavin Smith
On 13 August 2016 at 15:08, Andreas Schwab wrote: > On Aug 13 2016, Gavin Smith wrote: > >> +2016-08-13 Gavin Smith >> + >> + * modules/getdelim: Remove dependency on realloc-posix. >> + * lib/getdelim.c (getdelim): Set errno to ENOENT if realloc failed, > > s/ENOENT/ENOMEM/ > Tha

Re: Remove dependency of getdelim on realloc-posix

2016-08-13 Thread Andreas Schwab
On Aug 13 2016, Gavin Smith wrote: > +2016-08-13 Gavin Smith > + > + * modules/getdelim: Remove dependency on realloc-posix. > + * lib/getdelim.c (getdelim): Set errno to ENOENT if realloc failed, s/ENOENT/ENOMEM/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key finger

Remove dependency of getdelim on realloc-posix

2016-08-13 Thread Gavin Smith
This patch is intended to remove a warning due to redefining realloc twice when building Perl extension modules, once by gnulib, a second time by Perl's headers. Reported here http://lists.gnu.org/archive/html/bug-texinfo/2016-08/msg00021.html diff --git a/ChangeLog b/ChangeLog index 2414e8e..903