[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src/libpspp ChangeLog array.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] pspp/src/libpspp ChangeLog array.c |
Date: |
Thu, 07 Jun 2007 05:46:37 +0000 |
CVSROOT: /cvsroot/pspp
Module name: pspp
Changes by: Ben Pfaff <blp> 07/06/07 05:46:37
Modified files:
src/libpspp : ChangeLog array.c
Log message:
(binary_search): Fix assertion.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/libpspp/ChangeLog?cvsroot=pspp&r1=1.71&r2=1.72
http://cvs.savannah.gnu.org/viewcvs/pspp/src/libpspp/array.c?cvsroot=pspp&r1=1.12&r2=1.13
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pspp/pspp/src/libpspp/ChangeLog,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -b -r1.71 -r1.72
--- ChangeLog 7 Jun 2007 05:19:10 -0000 1.71
+++ ChangeLog 7 Jun 2007 05:46:37 -0000 1.72
@@ -1,5 +1,9 @@
2007-06-06 Ben Pfaff <address@hidden>
+ * array.c (binary_search): Fix assertion.
+
+2007-06-06 Ben Pfaff <address@hidden>
+
Add error propagation layer. Patch #5916, slightly revised.
* automake.mk: Add new files.
Index: array.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/libpspp/array.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- array.c 4 Jun 2007 01:19:03 -0000 1.12
+++ array.c 7 Jun 2007 05:46:37 -0000 1.13
@@ -531,7 +531,7 @@
void *value,
algo_compare_func *compare, const void *aux)
{
- assert (array != NULL);
+ assert (array != NULL || count == 0);
assert (count <= INT_MAX);
assert (compare != NULL);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/src/libpspp ChangeLog array.c,
Ben Pfaff <=