Archives by Category
Contact
- Hagen Paul Pfeifer
- http://jauu.net
- hagen@jauu.net (encrypted preferred)
- KeyId: 0x98350C22
- Telephone: +49 174 5455209
Follow this blog
2am and still bug fixing
JUL 2008
15
- Published in: programming
- | Time: 00:23:11 CEST
- | SHA1: ba557b6b355efdf8c65ee8101a2caed68c196658
today in the evening I received the following bug report for libhashish (especially the bloom filter implementation):
[...] ../include/libhashish.h:116: syntax error before "pthread_rwlock_t" ../include/libhashish.h:116: warning: no semicolon at end of struct or union [...]
Looks pretty forward, but hold on! One line above in the spotted code are some tricky compiler forward declarations so we checked this first with some older GCC versions – no success. After that we focused on glibc and their threading support for older versions and voilĂ : some today really outdated glibc versions (especially the linuxthread ones, the NPTL predecessor) require to define a additional constant.
At the end: thank you for spotting the bug and why for god’s sake use CISCO premature software?