[hashcash] Re: libfastmint update 20040914

  • From: Justin Guyett <justin@xxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Wed, 15 Sep 2004 05:31:22 +0000

On 2004-09-14T23:20:20+0100, Jonathan Morton wrote:
> This patch (against hashcash 1.08) cleans up the MMX and Altivec 
> detection code, moving it all into one place and ensuring it only needs 
> to be called once.

(gdb) r -mb20 -r asdf
Starting program: ~/hashcash-1.08a/hashcash -mb foo -r asdf

Program received signal SIGSEGV, Segmentation fault.
0x08052a75 in hashcash_detect_features ()

1.08 vanilla doesn't segfault.

The only thing I did was add #define __USE_GNU right before "#include
<signal.h>", since sighandler_t isn't defined on my system (gentoo
2004.2, generic modern linux glibc) otherwise.

Wouldn't gnu autoconf make things much less prone to that kind of
breakage?


Other related posts: