[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] dirname.h self-contained?
From: |
Jim Meyering |
Subject: |
Re: [Bug-gnulib] dirname.h self-contained? |
Date: |
Fri, 30 May 2003 09:35:43 +0200 |
Paul Eggert <address@hidden> wrote:
> Here's a proposed patch to fix Oskar Liljeblad's original problem,
> along with other instances of similar problems that I noticed.
>
> Index: lib/ChangeLog
> ===================================================================
> RCS file: /cvsroot/gnulib/gnulib/lib/ChangeLog,v
> retrieving revision 1.470
> diff -p -u -r1.470 ChangeLog
> --- lib/ChangeLog 29 May 2003 07:21:59 -0000 1.470
> +++ lib/ChangeLog 29 May 2003 17:56:34 -0000
> @@ -1,3 +1,16 @@
> +2003-05-29 Paul Eggert <address@hidden>
> +
> + * __fpending.h, addext.c, backupfile.c, exclude.c, getline.c,
> + malloc.c, utenv.c, realloc.c, strcasecmp.c: Include <stddef.h>
> + rather than <sys/types.h>, as we merely need size_t.
> + * dirname.h, memcoll.h, xalloc.h, xmemcoll.h: Include <stddef.h>,
> + to get size_t.
> + * linebuffer.h: Include <stdio.h>, to get FILE.
> + * memcasecmp.c: Don't include <sys/types.h>, as we can assume
> + memcasecmp.h has included <stddef.h> and all we need is size_t.
> + * memcoll.c: Include "memcoll.h", which gets us size_t and checks
> + our interface, instead of including <sys/types.h>
> +
> 2003-05-28 Paul Eggert <address@hidden>
Looks fine.
Thanks for doing all that!
- [Bug-gnulib] dirname.h self-contained?, Oskar Liljeblad, 2003/05/26
- Re: [Bug-gnulib] dirname.h self-contained?, James Youngman, 2003/05/26
- Re: [Bug-gnulib] dirname.h self-contained?, Jim Meyering, 2003/05/27
- Re: [Bug-gnulib] dirname.h self-contained?, Bruno Haible, 2003/05/27
- Re: [Bug-gnulib] dirname.h self-contained?, Paul Eggert, 2003/05/27
- Re: [Bug-gnulib] dirname.h self-contained?, Bruno Haible, 2003/05/27
- Re: [Bug-gnulib] dirname.h self-contained?, Jeff Bailey, 2003/05/27
- Re: [Bug-gnulib] dirname.h self-contained?, Paul Eggert, 2003/05/29
- Re: [Bug-gnulib] dirname.h self-contained?, Paul Eggert, 2003/05/29
- Re: [Bug-gnulib] dirname.h self-contained?,
Jim Meyering <=
- Re: [Bug-gnulib] dirname.h self-contained?, Bruno Haible, 2003/05/30