bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [3/7][4/7][5/7] Proposed patches to remove several inttypes-related


From: Bruno Haible
Subject: Re: [3/7][4/7][5/7] Proposed patches to remove several inttypes-related dependencies
Date: Sun, 24 Apr 2011 15:40:36 +0200
User-agent: KMail/1.9.9

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

[Prev in Thread] Current Thread [Next in Thread]