Re: bitset: check memory allocation

2019-09-07 Thread Akim Demaille
> Le 8 sept. 2019 à 03:17, Paul Eggert a écrit : > > Thanks, and your changes all look good to me; please install when you have > the time. We can worry about the other issues later (if ever...). Installed, thanks!

Re: bitset: check memory allocation

2019-09-07 Thread Paul Eggert
Thanks, and your changes all look good to me; please install when you have the time. We can worry about the other issues later (if ever...).

Re: bitset: check memory allocation

2019-09-06 Thread Akim Demaille
c23ad1d50cb5746dc2dd0265e0ae91c746b0b9 Author: Akim Demaille Date: Thu Sep 5 11:36:39 2019 +0200 bitset: check memory allocation Reported by 江 祖铭 (Zu-Ming Jiang). With help from Paul Eggert. https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00016.html * lib/b

Re: bitset: check memory allocation

2019-09-05 Thread Paul Eggert
On 9/5/19 12:59 PM, Akim Demaille wrote: EBITSET_ELTS (src) -= realloc (EBITSET_ELTS (src), newsize * sizeof (tbitset_elt *)); += xrealloc (EBITSET_ELTS (src), newsize * sizeof (tbitset_elt *)); This code is trying to shrink the bitset, and in the unlikely e

bitset: check memory allocation

2019-09-05 Thread Akim Demaille
Hi! Ok to push? commit 1fddc3eddd988829cd2b5b74dc3fab58a3093af8 Author: Akim Demaille Date: Thu Sep 5 11:36:39 2019 +0200 bitset: check memory allocation Reported by 江 祖铭 (Zu-Ming Jiang). https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00016.html * lib