Re: [EXIM] Exim imposed quotas

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Dr Andrew C Aitchison
Kopio: Jeffrey Goldberg, zilbauer, exim-users
Aihe: Re: [EXIM] Exim imposed quotas
On Mon, 14 Sep 1998, Dr Andrew C Aitchison wrote:

> On my SunOS 4.1.4 machine Jeff's program gives bizzare results, unless I
> #include <math.h> (or <floatingpoint.h>.
> Although man strtod says #include <stdlib.h>, I find that strtod is
> declared in /usr/include/floatingpoint.h, which is only included by
> /usr/include/math.h.


Thanks for debugging this one. Exim is written in ANSI C, and SunOS4
never provided a proper ANSI C environment.

> Another case where it seems Phil will have to cover up for this
> broken OS :-(


Please try putting

extern double strtod(const char *, char **);

into the file OS/os.h-SunOS4 and see if that fixes things. If it does, I
will put it into the distributed source.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***