Hi Paul,

> +     strtoll: remove dependency on strtol
> +     This is so that 'configure' need not check for strtol merely because
> +     the application needs strtoll.
> +     * modules/strtoll (Files): Add lib/strtol.c.
> +     (Depends-on): Remove strtol.

> +     strtoull: remove dependency on strtoul
> +     This is like the strtoll change.
> +     * modules/strtoull (Files): Add lib/strtol.c, lib/strtoul.c.
> +     (Depends-on): Remove strtoul.

> +     strtoul: remove dependency on strtol
> +     This is so that 'configure' need not check for strtol merely because
> +     the application needs strtoul.
> +     * modules/strtoul (Files): Add lib/strtol.c.
> +     (Depends-on): Remove strtol.

Nice simplification! These patches not only help avoiding some configure
checks, they also avoid unnecessary compilation units (on old platforms): Our
implementation of strtoll() does not invoke strtol(), it just shares source
code.

It's the same kind of simplification as I did for safe-write and full-read a
week ago. <http://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00162.html>

Bruno
-- 
In memoriam Siamanto <http://en.wikipedia.org/wiki/Siamanto>

Reply via email to