[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep ./ChangeLog src/kwset.c
From: |
Charles Levert |
Subject: |
grep ./ChangeLog src/kwset.c |
Date: |
Mon, 04 Jul 2005 22:06:34 -0400 |
CVSROOT: /cvsroot/grep
Module name: grep
Branch:
Changes by: Charles Levert <address@hidden> 05/07/05 02:06:29
Modified files:
. : ChangeLog
src : kwset.c
Log message:
* src/kwset.c (kwsincr): When a second obstack_alloc() call fails,
free what the first one successfully allocated by popping it
off the top of the obstack, before returning in error, just
to keep things clean.
* src/kwset.c (kwsprep): Verify return value of obstack_alloc()
and return a memory exhausted error if so. This function had
a prototype to return such errors, but never did.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/ChangeLog.diff?tr1=1.267&tr2=1.268&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/src/kwset.c.diff?tr1=1.12&tr2=1.13&r1=text&r2=text