Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh-3.0-pre6 zstrtol broken



> >From utils.c:
> 
> >   /* Convert string to long.  This function (without the z) *
> >    * is contained in the ANSI standard C library, but a lot *
> >    * of them seem to be broken.                             */
> 
> ... and so is zstrtol; it does not skip leading whitespace.

Then the comment is wrong, since it is not ANSI.  Or do you know that this
ANSI feature is assumed anywhere in the zsh source code?

Zoltan



Messages sorted by: Reverse Date, Date, Thread, Author