[or-cvs] r17394: {tor} Backport: stop marking bsearch_idx as pure; it is not. (in tor/branches/tor-0_2_0-patches: . src/common)
nickm at seul.org
nickm at seul.org
Wed Nov 26 17:02:03 UTC 2008
Author: nickm
Date: 2008-11-26 12:02:02 -0500 (Wed, 26 Nov 2008)
New Revision: 17394
Modified:
tor/branches/tor-0_2_0-patches/ChangeLog
tor/branches/tor-0_2_0-patches/src/common/container.h
Log:
Backport: stop marking bsearch_idx as pure; it is not.
Modified: tor/branches/tor-0_2_0-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_2_0-patches/ChangeLog 2008-11-26 16:57:46 UTC (rev 17393)
+++ tor/branches/tor-0_2_0-patches/ChangeLog 2008-11-26 17:02:02 UTC (rev 17394)
@@ -1,3 +1,10 @@
+Changes in version 0.2.0.33 - 200?-??-??
+ o Minor bugfixes:
+ - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
+ could make gcc generate non-functional binary search code. Bugfix
+ on 0.2.0.10-alpha.
+
+
Changes in version 0.2.0.32 - 2008-11-20
o Security fixes:
- The "User" and "Group" config options did not clear the
Modified: tor/branches/tor-0_2_0-patches/src/common/container.h
===================================================================
--- tor/branches/tor-0_2_0-patches/src/common/container.h 2008-11-26 16:57:46 UTC (rev 17393)
+++ tor/branches/tor-0_2_0-patches/src/common/container.h 2008-11-26 17:02:02 UTC (rev 17394)
@@ -108,8 +108,7 @@
ATTR_PURE;
int smartlist_bsearch_idx(const smartlist_t *sl, const void *key,
int (*compare)(const void *key, const void **member),
- int *found_out)
- ATTR_PURE;
+ int *found_out);
void smartlist_pqueue_add(smartlist_t *sl,
int (*compare)(const void *a, const void *b),
More information about the tor-commits
mailing list