bug-gnulib
[Top][All Lists]
Advanced

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

Re: declare dirfd() in dirent.h


From: Bruno Haible
Subject: Re: declare dirfd() in dirent.h
Date: Sun, 19 Oct 2008 12:48:44 +0200
User-agent: KMail/1.5.4

> 2008-10-18  Bruno Haible  <address@hidden>
> 
>       * lib/dirfd.h: Remove file.
>       * lib/dirent.in.h: Add placeholder for GL_LINK_WARNING.
>       (dirfd): New declaration.
>       * lib/dirfd.c: Include <dirent.h> instead of dirfd.h.
>       * m4/dirfd.m4 (gl_FUNC_DIRFD): Require gl_DIRENT_H_DEFAULTS and
>       AC_USE_SYSTEM_EXTENSIONS. Invoke gl_REPLACE_DIRENT_H. Set
>       HAVE_DECL_DIRFD.
>       * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize GNULIB_DIRFD and
>       HAVE_DECL_DIRFD.
>       * modules/dirfd (Files): Remove lib/dirfd.h.
>       (Depends-on): Add dirent, extensions.
>       (configure.ac): Invoke gl_DIRENT_MODULE_INDICATOR.
>       (Include): Specify <dirent.h> instead of dirfd.h.
>       * modules/dirent (Depends-on): Add link-warning.
>       (Makefile.am): Substitute GNULIB_DIRFD, HAVE_DECL_DIRFD, and
>       definition of GL_LINK_WARNING.
>       * NEWS: Mention the change.
>       * lib/fchdir.c: Don't include dirfd.h.
>       * lib/fts.c: Likewise.
>       * lib/getcwd.c: Likewise.
>       * lib/glob.c: Likewise.

Applied.





reply via email to

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