projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34627f7
)
Fri Dec 19 23:27:45 2003 Ben Pfaff <blp@gnu.org>
author
Ben Pfaff
<blp@gnu.org>
Sat, 20 Dec 2003 07:33:12 +0000
(07:33 +0000)
committer
Ben Pfaff
<blp@gnu.org>
Sat, 20 Dec 2003 07:33:12 +0000
(07:33 +0000)
* algorithm.c: (binary_search) Fix assertion.
src/ChangeLog
patch
|
blob
|
history
src/algorithm.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 15076a0d3d4d1c04e9c794523c9ea304cab74f1c..e72f20aee10eb5b6d1ca2be08b5566613a58fc85 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+Fri Dec 19 23:27:45 2003 Ben Pfaff <blp@gnu.org>
+
+ * algorithm.c: (binary_search) Fix assertion.
+
Fri Dec 19 21:31:48 2003 Ben Pfaff <blp@gnu.org>
* sysfile-info.c: (compare_vectors_by_name) Rewrite.
diff --git
a/src/algorithm.c
b/src/algorithm.c
index c6bdae270e044bb5768536a54c304c363ea4f114..66be93d6b01a0c673ccec491164e53233df6cdb7 100644
(file)
--- a/
src/algorithm.c
+++ b/
src/algorithm.c
@@
-338,7
+338,7
@@
binary_search (const void *array, size_t count, size_t size,
{
assert (array != NULL);
assert (count <= INT_MAX);
- assert (
aux
!= NULL);
+ assert (
compare
!= NULL);
if (count != 0)
{