bug in src/shared.c

Stefan Janssen stefan.janssen at uni-bielefeld.de
Tue Jan 13 16:04:06 CET 2009


Hi,

I tried to compile gnuTLS on my Solaris SunOS 5.10 i386 machine. Make 
crashed, because in the file src/shared.c in line 727 the symbol 
HUGE_VAL is used twice. After I added Parentesis behind HUGE_VAL 
everything compiled fine. Maybe you could change this line in your 
source from

            if (double_val == +HUGE_VAL || double_val == -HUGE_VAL)

to

            if (double_val == +HUGE_VAL() || double_val == -HUGE_VAL())


Best regards,
Stefan





More information about the Gnutls-devel mailing list