[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch 11/19] fix assertion in binary_search
From: |
John Darrington |
Subject: |
Re: [patch 11/19] fix assertion in binary_search |
Date: |
Thu, 7 Jun 2007 08:32:02 +0800 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
No problems.
On Tue, Jun 05, 2007 at 11:27:38PM -0700, address@hidden wrote:
Index: merge/src/libpspp/array.c
===================================================================
--- merge.orig/src/libpspp/array.c 2007-06-05 09:16:11.000000000 -0700
+++ merge/src/libpspp/array.c 2007-06-05 09:18:06.000000000 -0700
@@ -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);
--
_______________________________________________
pspp-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/pspp-dev
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- Re: [patch 03/19] error propagation infrastructure, (continued)
- [patch 05/19] sparse array of cases, blp, 2007/06/06
- [patch 12/19] make aux_data static in libpspp tests, blp, 2007/06/06
- [patch 19/19] i18n changes to Smake, configure.ac, blp, 2007/06/06
- [patch 08/19] case_ordering implementation, blp, 2007/06/06
- [patch 11/19] fix assertion in binary_search, blp, 2007/06/06
- Re: [patch 11/19] fix assertion in binary_search,
John Darrington <=
- [patch 18/19] fairly experimental changes based on what seemed to make sense, blp, 2007/06/06
- [patch 10/19] new function value_cnt_from_width, blp, 2007/06/06
- [patch 02/19] new function get_workspace_cases, blp, 2007/06/06
- [patch 06/19] sliding window of cases, blp, 2007/06/06
- [patch 04/19] temporary file for array of cases, blp, 2007/06/06