<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] warning cleared



* On 2005.09.21, in <20050922014526.GS10503@xxxxxxxxxxxxx>,
*       "Vincent Lefevre" <vincent@xxxxxxxxxx> wrote:
> On 2005-09-21 16:56:26 -0500, David Champion wrote:
> > That's a good call. Normally I would, but strtoul() is not as
> > portable as mutt is.
> 
> What do you mean? Could you show some code that gives unexpected
> results on some machine?

Sure.

unix$ uname -a
SunOS square 4.1.4 2 sun4m
unix$ which cc
/usr/bin/cc
unix$ cat strtoul-test.c 
main()
{
        return strtoul("12", 0L, 0);
}
unix$ cc strtoul-test.c 
ld: Undefined symbol 
   _strtoul 

-- 
 -D.    dgc@xxxxxxxxxxxx        NSIT    University of Chicago