Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.
[gnulib.git] / ChangeLog
index c4f0ea5..f0f5a8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,150 @@
+2006-10-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.
+       stat-macros.h is now for our own macros, whereas stat_h is for
+       macros in the <sys/stat.h> name space.
+       * lib/stat-macros.h: Remove copyright notice, as this file is now tiny.
+       (STAT_MACROS_H): Remove.
+       (S_IFMT, S_ISBLK, S_ISCHR, S_ISDIR, S_ISFIFO, S_ISLNK, S_ISNAM):
+       (S_ISMPB, S_ISMPC, S_ISNWK, S_ISREG, S_ISSOCK, S_ISDOOR, S_ISPORT):
+       (S_TYPEISMQ, S_TYPEISTMO, S_TYPEISSEM, S_TYPEISSHM, S_ISCTG, S_ISOFD):
+       (S_ISOFL, S_ISWHT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRGRP):
+       (S_IROTH, S_IWUSR, S_IWGRP, S_IWOTH, S_IXUSR, S_IXGRP, S_IXOTH):
+       (S_IRWXU, S_IRWXG, S_IRWXO, S_IXUGO, S_IRWXUGO):
+       Move these macros to ...
+       * lib/stat_.h: here.  Don't include stat-macros.h.
+       * lib/canonicalize.c: Don't include stat-macros.h.
+       * lib/chown.c: Likewise.
+       * lib/euidaccess.c: Likewise.
+       * lib/file-type.c: Likewise.
+       * lib/filemode.c: Likewise.
+       * lib/glob.c: Likewise.
+       * lib/isapipe.c: Likewise.
+       * lib/lchown.c: Likewise.
+       * lib/lstat.c: Likewise.
+       * lib/mkdir-p.c: Likewise.
+       * lib/rmdir.c: Likewise.
+       * m4/lchown.m4 (gl_FUNC_LCHOWN): Don't require gl_STAT_MACROS.
+       * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Don't check for io.h
+       unless mkdir isn't declared, to speed up 'configure'.
+       Always create sys/stat.h, since it's unlikely any real sys/stat.h
+       would define all the S_* symbols.
+       * modules/canonicalize (Depends-on):
+       Depend on sys_stat, not stat-macros.
+       * modules/chown: Likewise.
+       * modules/euidaccess: Likewise.
+       * modules/filemode: Likewise.
+       * modules/file-type: Likewise.
+       * modules/glob: Likewise.
+       * modules/isapipe: Likewise.
+       * modules/lchown: Likewise.
+       * modules/lstat: Likewise.
+       * modules/mkancesdirs: Likewise.
+       * modules/rmdir: Likewise.
+       * modules/mkdir-p (Depends-on): Also depend on sys_stat.
+       * modules/modechange: Likewise.
+       * modules/stat-macros (Files): Remove m4/stat-macros.m4.
+       (configure.ac): Remove gl_STAT_MACROS.
+       * modules/sys_stat (Depends-on): Remove stat-macros.
+
+2006-10-27  Bruno Haible  <bruno@clisp.org>
+
+       * m4/signed.m4: Remove file.
+       * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_ARGS_: Remove bh_C_SIGNED
+       invocation.
+       * modules/vasnprintf (Files): Remove m4/signed.m4.
+
+2006-10-27  Bruno Haible  <bruno@clisp.org>
+
+       Update to GNU gettext 0.16.
+       * modules/gettext (Files): Add m4/intl.m4, m4/intldir.m4. Remove
+       m4/inttypes-h.m4, m4/signed.m4.
+       * m4/gettext.m4: Update to GNU gettext 0.16.
+       * m4/intl.m4: New file, from GNU gettext.
+       * m4/intldir.m4: New file, from GNU gettext.
+       * config/srclist.txt: Update
+
+2006-10-27  Eric Blake  <ebb9@byu.net>
+
+       * MODULES.html.sh: Document tempname.
+       * modules/mkstemp (Depends-on): Add tempname, and drop transitive
+       dependencies.
+       (Files): Move lib/tempname.c...
+       * modules/tempname: ...to this new module.
+       * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Remove tempname checks.
+       (gl_PREREQ_TEMPNAME): Move...
+       * m4/tempname.m4: ...to this new file.
+       * lib/mkstemp.c (includes) [!_LIBC]: Use tempname.h.
+       * modules/sys_stat (Depends-on): Add stat-macros.
+       * lib/stat_.h (includes): Pick up stat macros.
+       * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Replace <sys/stat.h>
+       if stat macros are broken.
+       * lib/tempname.c (includes): No need to include "stat-macros.h".
+       (__gen_tempname) [!_LIBC]: Expose as gen_tempname.
+       (direxists, __path_search) [!_LIBC]: Don't compile these in
+       gnulib; the tmpdir module covers that.
+       * lib/tempname.h: New file.
+
+2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * COPYING: Explain how gnulib-tool converts licence headers.
+       Almost all wording by Eric Blake.
+
+2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/mbchar.h (is_basic_table): Make read-only.
+       * lib/mbchar.c (is_basic_table): Likewise.
+       Reported by John Darrington.
+
+2006-10-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/progname.h (set_program_name): Undefine before defining.
+
+2006-10-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to
+       false for non-gcc C++ compilers.
+       Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
+
+2006-10-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/striconv.c (mem_cd_iconv, str_cd_iconv): Treat all non-GNU
+       iconv implementations like Irix iconv.
+
+2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/vararrays: New file.
+       * m4/vararrays.m4: New file, taken from diffutils.
+       * MODULES.html.sh: New module vararrays.
+
+2006-10-24  Karl Berry  <karl@gnu.org>
+
+       * doc/gnulib-intro.texi: --- instead of --; non-naive naive.
+       Don't call GNU Unix.
+
+2006-10-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * users.txt: Add Libtool.
+
+       Sync from Libtool:
+
+       2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/argz.c: Remove check for HAVE_CONFIG_H, to conform
+       to gnulib's policy of including config.h unconditionally.
+
+2006-10-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcwidth (Files): Add m4/wint_t.m4.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Require gt_TYPE_WINT_T.
+       * lib/wcwidth.h (iswprint): Use 'int' if 'wint_t' is not defined.
+
+2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/getdate.y (yyerror): Make the arguments pointer-to-const,
+       to pacify GCC with some -W flags enabled.  Problem reported by
+       Bruno Haible.
+
 2006-10-24  Jim Meyering  <jim@meyering.net>
 
        * MODULES.html.sh: Remove uinttostr.  It's not a module.
 
        * lib/basename.c (base_name): Add an assertion.
 
-2000-07-23  Bruno Haible  <clisp.cons.org>
+2000-07-23  Bruno Haible  <haible@clisp.cons.org>
 
        * lib/quotearg.c: When the system forces us to redefine mbstate_t,
        shadow its mbsinit function.