Command syntax problem

David Relson relson at osagesoftware.com
Sat Sep 25 18:49:00 CEST 2004


On Sat, 25 Sep 2004 08:16:05 -0700 (PDT)
Charles Hewson wrote:

....[snip]...

> [cahewson] find /usr/include -name "*.h" -print | xargs grep strtod
> find: cannot chdir to /usr/include/openssl: Permission denied
> /usr/include/floatingpoint.h:extern double   strtod();
> [cahewson]
> 
> #include <floatingpoint.h>
> 
> This also works.

Charles,

We're getting closer!

I could add something like:

#ifdef __SunOS___
#include <floatingpoint.h>
#endif

However this seems like a low level include and __SunOS__ is just a
guess as to preprocessor symbol.  

What other headers in /usr/include reference floatingpoint.h?  It'd be
better if xatof.c had a #include for math.h or unistd.h (if they work).

David



More information about the Bogofilter mailing list