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

Re: [PATCH] warning cleared



On 2005-09-23 01:49:30 +0200, Vincent Lefevre wrote:
> On 2005-09-22 09:50:22 -0500, David Champion wrote:
> > I'll take Thomas Dickey's word that strtol() is reliably present -- I
> 
> According to <http://dora.eeap.cwru.edu/login/ssh_install_notes.html>:
> 
>   NOTE: had to change the strtoul fuunction call in pcretest.c to
>   strtol because SunOS 4.1.3 doesn`t have a strtoul.

strtol is already used at may others places in Mutt, so there
shouldn't be any problem.

Concerning strtoul:

$ grep strtoul *.c
sort.c:  result = (strtoul((*ppa)->env->spam->data, &aptr, 10) -
sort.c:            strtoul((*ppb)->env->spam->data, &bptr, 10));

Shouldn't this be changed?

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA