[Top][All Lists]
[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>
- Re: [6/7] Proposed patches to remove several inttypes-related dependencies, (continued)
- Re: Proposed patches to remove several inttypes-related dependencies, Eric Blake, 2011/04/22
- Re: [1/7] Proposed patches to remove several inttypes-related dependencies, Bruno Haible, 2011/04/24
- Re: [2/7][7/7] Proposed patches to remove several inttypes-related dependencies, Bruno Haible, 2011/04/24
- Re: [3/7][4/7][5/7] Proposed patches to remove several inttypes-related dependencies,
Bruno Haible <=
- Re: [6/7] Proposed patches to remove several inttypes-related dependencies, Bruno Haible, 2011/04/24