bug-gnulib
[Top][All Lists]
Advanced

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

Re: proposed 'string' module for gnulib


From: Jim Meyering
Subject: Re: proposed 'string' module for gnulib
Date: Fri, 26 Jan 2007 09:20:22 +0100

Paul Eggert <address@hidden> wrote:
> I'd like to add a 'string' module to gnulib, which does for <string.h>
> what the sys_time module does for <sys/time.h>, namely, sets up a
> substitute string.h that has needed GNU declarations.  That way,
> we don't need to worry about the little include files like "strstr.h"
> which make the rest of the code harder to read and maintain.
>
> Here's a patch to do this, tested with coreutils.
>
> Bruno, this patch would affect strcase, pathname, fchdir, javacomp,
> striconv, execute, pipe.
>
> Sergey, this patch would affect argp.
>
> Simon, this patch would affect mempcpy, getaddrinfo, iconvme,
> mempcpy, xstrndup.
>
> Yoann, this would affect strsep.
>
> This may be a bit ambitious, but I'd like to check in this patch all
> at once, since if I check in only the stuff that Jim and I maintain
> it'll break the other modules (due to little files like "strstr.h"
> that go away).

Ambitious, indeed, but very nice.
Please post the new file, modules/string, too :-)




reply via email to

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