grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to grep/ChangeLog


From: Charles Levert
Subject: Changes to grep/ChangeLog
Date: Mon, 04 Jul 2005 22:06:30 -0400

Index: grep/ChangeLog
diff -u grep/ChangeLog:1.267 grep/ChangeLog:1.268
--- grep/ChangeLog:1.267        Tue Jul  5 01:17:41 2005
+++ grep/ChangeLog      Tue Jul  5 02:06:28 2005
@@ -9,6 +9,14 @@
          Checked to hold for CHAR_BIT up to 1023 (and maybe more)!
        * src/kwset.c (kwsincr): Use DEPTH_SIZE in two array declarations.
 
+       * 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.
+
 2005-07-04  Charles Levert  <address@hidden>
 
        * src/kwset.c: Readability changes.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]