From: Pádraig Brady
Date: Tue, 29 Aug 2017 04:09:08 +0000 (-0700)
Subject: doc: remove older ChangeLog items
X-Git-Tag: v8.28~16
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e112e90b11b70bd6dc5b441f820803fc2aadd69;p=thirdparty%2Fcoreutils.git
doc: remove older ChangeLog items
This saves about 0.5MB uncompressed from the tarball.
* Makefile.am: Following on from v8.26-34-g2c64bc8
update the oldest documented version to 8.18 which
is now about 5 years old. Also remove older ChangeLogs
that were previously thought to be for changes not
in the git history, but are adequately recorded upon review.
* build-aux/ChangeLog-2007: Remove file.
* lib/ChangeLog-2007: Likewise.
* m4/ChangeLog-2007: Likewise.
---
diff --git a/Makefile.am b/Makefile.am
index 396112f0ca..1c58fa5473 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,13 +19,7 @@ ALL_RECURSIVE_TARGETS =
SUBDIRS = po . gnulib-tests
-changelog_etc = \
- build-aux/ChangeLog-2007 \
- lib/ChangeLog-2007 \
- m4/ChangeLog-2007
-
EXTRA_DIST = \
- $(changelog_etc) \
.mailmap \
.prev-version \
.version \
@@ -99,7 +93,7 @@ dist-hook: gen-ChangeLog
$(AM_V_at)touch $(distdir)/doc/constants.texi \
$(distdir)/doc/coreutils.info
-gen_start_ver = 8.15
+gen_start_ver = 8.18
.PHONY: gen-ChangeLog
gen-ChangeLog:
$(AM_V_GEN)if test -d .git; then \
diff --git a/build-aux/ChangeLog-2007 b/build-aux/ChangeLog-2007
deleted file mode 100644
index 509b160a47..0000000000
--- a/build-aux/ChangeLog-2007
+++ /dev/null
@@ -1,241 +0,0 @@
-2007-09-29 Eric Blake
-
- * check.mk (%.log): Also allow suffix-less tests, on platforms
- where $(EXEEXT) is not empty.
-
-2007-09-15 Jim Meyering
-
- * vc-list-files: Remove mercurial support.
- Check for CVS first. Adjust comments.
-
-2007-01-30 Jim Meyering
-
- * vc-list-files: Select column 2, not 3 (hg-0.9.3's manifest format
- now has only two columns).
-
-2006-10-14 Jim Meyering
-
- * vc-list-files: Don't filter git-ls-files output through cut.
- Add a comment about cvsu.
-
-2006-08-22 Paul Eggert
-
- * .cvsignore: New file.
-
-2006-08-20 Paul Eggert
-
- * compile, config.guess, config.rpath, config.sub, depcomp:
- * install-sh, mdate-sh, missing, texinfo.tex:
- Remove from CVS, since ../bootstrap generates them automatically.
-
-2006-08-15 Paul Eggert
-
- * ChangeLog: Add copyright notice.
- * vc-list-files: Likewise.
- * mkinstalldirs: Remove; no longer needed.
-
-2006-08-09 Paul Eggert
-
- * texinfo.tex: Update from gnulib.
-
-2006-07-25 Jim Meyering
-
- * vc-list-files: Handle git repositories, too.
-
-2006-07-19 Jim Meyering
-
- * vc-list-files: Command line args correspond to an "include"
- list, not an exclude list.
-
-2006-07-14 Jim Meyering
-
- * vc-list-files: New file.
-
-2006-07-08 Paul Eggert
-
- * config.guess, config.sub, install-sh, texinfo.tex:
- Update from gnulib.
-
-2006-05-29 Jim Meyering
-
- * config.guess, config.rpath, config.sub, install-sh:
- * mkinstalldirs, texinfo.tex: Update from gnulib.
-
-2006-02-14 Paul Eggert
-
- * install-sh: Update from gnulib.
-
-2006-01-31 Jim Meyering
-
- * config.guess, missing, texinfo.tex: Update from gnulib.
-
-2006-01-10 Paul Eggert
-
- * config.guess, config.sub, depcomp, texinfo.tex: Sync from gnulib.
-
-2005-12-13 Paul Eggert
-
- * config.guess: Sync from gnulib.
-
-2005-12-07 Jim Meyering
-
- * cvsu: New file.
-
-2005-11-12 Jim Meyering
-
- * config.guess, install-sh: Update from gnulib.
-
-2005-10-23 Jim Meyering
-
- * compile: New file, used to build sha* programs from md5sum.c.
-
-2005-10-13 Jim Meyering
-
- * texinfo.tex: Sync from gnulib.
-
-2005-09-21 Paul Eggert
-
- * install-sh, config.guess: Sync from gnulib.
-
-2005-07-01 Jim Meyering
-
- * config.guess, config.sub, mdate-sh, missing, mkinstalldirs:
- * texinfo.tex: Update from gnulib.
-
-2005-06-02 Paul Eggert
-
- * config.guess, config.sub, texinfo.tex: Sync from gnulib.
-
-2005-05-20 Paul Eggert
-
- * config.guess: Sync from gnulib.
-
-2005-05-15 Paul Eggert
-
- * depcomp, install-sh, mdate-sh, missing, pmkinstalldirs:
- Sync from gnulib (scriptversion change only).
-
-2005-05-14 Paul Eggert
-
- * config.guess, config.sub: Sync from gnulib.
-
-2005-05-01 Paul Eggert
-
- * config.guess, config.sub, texinfo.tex: Sync from gnulib.
-
-2005-03-20 Paul Eggert
-
- * config.rpath: Sync from gnulib.
-
-2005-02-25 Paul Eggert
-
- * config.guess, config.sub, depcomp, install-sh, mdate-sh, missing,
- mkinstalldirs: Sync from gnulib.
-
-2005-01-21 Paul Eggert
-
- * config.sub: Sync from gnulib.
-
-2004-12-17 Jim Meyering
-
- * install-sh: Sync from gnulib.
-
-2004-12-16 Paul Eggert
-
- * mdate-sh: Sync from gnulib.
-
-2004-11-23 Paul Eggert
-
- * config.sub, texinfo.tex: Sync from gnulib.
-
-2004-11-17 Paul Eggert
-
- * config.guess, config.sub: Sync from gnulib.
-
-2004-11-10 Paul Eggert
-
- * texinfo.tex: Sync from gnulib.
-
-2004-11-02 Paul Eggert
-
- * texinfo.tex: Sync from gnulib.
-
-2004-10-29 Paul Eggert
-
- * config.guess, install-sh, texinfo.tex: Sync from gnulib.
-
-2004-10-03 Paul Eggert
-
- * config.guess, config.sub, install-sh, missing, texinfo.tex:
- Sync from gnulib.
-
-2004-09-24 Jim Meyering
-
- * cvsu: Remove file. The version of cvsu from the cvsutils package
- does the same job with --find --type=... options.
- * cvsu: New file, used by rules in coreutils' Makefile.maint.
-
-2004-08-05 Paul Eggert
-
- * config.guess, config.sub, install-sh, texinfo.tex: Sync from gnulib.
-
-2004-03-30 Paul Eggert
-
- * config.guess, config.sub, install-sh, texinfo.tex: Sync from gnulib.
-
-2003-08-16 Paul Eggert
-
- * config.rpath, texinfo.tex: Sync with gnulib.
-
-2003-04-21 Jim Meyering
-
- * depcomp: New version, now that this file is on the list
- in ../Makefile.cfg.
-
-2003-01-12 Jim Meyering
-
- Lots of syntactic clean-up, mostly from Karl Berry.
- * install-sh: Use consistent indentation, two spaces per level.
- (scriptversion): New variable.
- Change initializations like `variable=""' to `variable='.
- (usage): New variable.
- Use `test', not `['.
- Use `test -z "$var"', not `[ x"$var" = x ]'.
- Use `test -n "$var"', not `[ x"$var" != x ]'.
- Alphabetize case entries.
- Accept --help and --version options.
- Remove unnecessary `else :' clauses.
- Add a `Local variables' eval block to help emacs users update
- the time-stamp variable added above.
-
-2002-12-20 Jim Meyering
-
- * install-sh: Set the execute bit on this file.
- Reported by Vin Shelton.
-
-2002-11-09 Jim Meyering
-
- Make it work even when names contain spaces or shell metachars.
- * install-sh: Write diagnostics to stderr, not stdout.
- Normalize spacing in diagnostics: use one space (not two, and not a TAB)
- after the leading `install:'.
- Add double quotes around `$src' here: $doit $instcmd "$src" "$dsttmp"
-
- Merge in some changes from the version in automake.
- * install-sh: Remove unnecessary quotes around `case' argument.
- Use `[ cond1 ] || [ cond2 ]' rather than `[ cond1 -o cond2 ]'.
- Use `:' rather than `true'.
-
-2002-02-17 Jim Meyering
-
- * config.guess (main): Don't use `head -1'; it's no longer portable.
- Use `sed 1q' instead.
-
-
- -----
-
- Copyright (C) 2002-2017 Free Software Foundation, Inc.
-
- Copying and distribution of this file, with or without
- modification, are permitted provided the copyright notice
- and this notice are preserved.
diff --git a/lib/ChangeLog-2007 b/lib/ChangeLog-2007
deleted file mode 100644
index 9873c0f3d3..0000000000
--- a/lib/ChangeLog-2007
+++ /dev/null
@@ -1,8753 +0,0 @@
-2007-05-31 Jim Meyering
-
- * printf-parse.c, vasnprintf.c, unicodeio.c: Remove local
- copies, so we now get these files from gnulib.
-
-2007-03-20 Jim Meyering
-
- Fix a typo in the handling of %x and %X.
- * vasnprintf.c (VASNPRINTF): When adding 2 to buffer length,
- don't double it.
-
-2007-03-04 Jim Meyering
-
- * vasnprintf.c (VASNPRINTF): Add missing semicolon.
-
-2007-03-02 Jim Meyering
-
- * vasnprintf.c (VASNPRINTF): Remove cast of alloca return value.
-
-2007-03-01 Jim Meyering
-
- Merge in changes from gnulib:
- * vasnprintf.c: Add a comment explaining why coreutils has its own
- version of this file.
- Include .
- (SIZE_MAX): Remove definition (now, stdint.h covers that).
- (EOVERFLOW): Remove definition (now done via the eoverflow module).
- Update some #ifdef to #if.
- Use HAVE_LONG_LONG_INT, not HAVE_LONG_LONG.
- * printf-parse.c: Likewise.
-
-2007-02-28 Jim Meyering
-
- * tsearch.c: Remove unused file.
-
-2007-02-23 Jim Meyering
-
- * randperm.c (randperm_new): Comment: say that this function
- returns a pointer to malloc'd storage.
-
-2007-02-18 Jim Meyering
-
- * xfts.c: Include rather than exit.h, now that stdlib.h
- is guaranteed to provide a valid definition of EXIT_FAILURE.
-
-2007-01-19 Jim Meyering
-
- * .cvsignore, .gitignore: Add sys, as well as more
- bootstrap-inserted file names.
-
-2007-01-14 Jim Meyering
-
- * fchdir-stub.c: Remove file. No longer needed.
-
-2006-12-03 Jim Meyering
-
- * Makefile.am (libcoreutils_a_SOURCES): Remove xmemcoll.c and
- xmemcoll.h. Now, they're handled by the gnulib xmemcoll module.
-
-2006-11-22 Paul Eggert
-
- * randread.c (__attribute__): Don't define if __attribute__ is
- already defined. Otherwise, the code won't conform to C99, since
- the macro arg is spelled differently by some include file, and the
- compilation fails with pedantic GCC.
-
-2006-11-22 Jim Meyering
-
- * .cvsignore, .gitignore: Add fstat.c.
-
-2006-11-14 Jim Meyering
-
- * readlink-stub.c, lstat-stub.c: Remove now-unused files.
-
-2006-10-14 Paul Eggert
-
- Port sha512sum to hosts where uintmax_t is only 32 bits, e.g.,
- HP/Tandom NonStop OSS circa 2005 has 32-bit uintmax_t, 64-bit intmax_t.
- * u64.h: New file.
- * sha512.c (SWAP, sha512_init_ctx, sha384_init_ctx, sha512_read_ctx):
- (sha384_read_ctx, sha512_conclude_ctx, sha512_process_bytes):
- (sha512_round_constants, F2, F1, sha512_process_block):
- (S0, S1, SS0, SS1, M, R):
- Rewrite to use u64.h instead of assuming uint64_t.
- * sha512.h: Include u64.h rather than stdint.h.
- (rol64): Remove; moved to u64.h and renamed to u64rol.
-
-2006-10-12 Jim Meyering
-
- * Makefile.am (libcoreutils_a_LIBADD): Append $(LIBOBJS),
- to accommodate the latest version of gnulib-tool.
- (libcoreutils_a_DEPENDENCIES): Likewise.
- From Bruno Haible.
-
-2006-10-06 Jim Meyering
-
- Avoid a compiler warning: const'ify and remove a cast.
- * randread.c (struct randread_source) [handler]: Make parameter "const".
- [handler_arg]: Add "const" attribute.
- (randread_error): Make parameter "const".
- (simple_new, randread_set_handler, randread_set_handler_arg): Likewise.
- (randread_new): Remove now-unnecessary cast.
- * randread.h: Adjust prototypes.
-
-2006-09-29 Paul Eggert
-
- * .cvsignore: Add openat-proc.c.
-
-2006-09-25 Paul Eggert
-
- * .cvsignore: Add fchmodat.c.
-
-2006-09-25 Jim Meyering
-
- * fchmodat.c: Remove file. gnulib's copy is identical.
-
-2006-09-01 Paul Eggert
-
- * .cvsignore: Add fcntl.h, fcntl_.h, inttypes_.h, isapipe.c,
- isapipe.h.
-
-2006-08-25 Paul Eggert
-
- * euidaccess-stat.c: Include unconditionally, since
- we now assume config.h exists.
- * fchmodat.c: Likewise.
- * fd-reopen.c: Likewise.
- * fdopendir-glibc.c: Likewise.
- * memxfrm.c: Likewise.
- * printf-parse.c: Likewise.
- * rand-isaac.c: Likewise.
- * randint.c: Likewise.
- * randperm.c: Likewise.
- * randread.c: Likewise.
- * root-dev-ino.c: Likewise.
- * sha256.c: Likewise.
- * sha512.c: Likewise.
- * stdopen.c: Likewise.
- * strintcmp.c: Likewise.
- * strnumcmp.c: Likewise.
- * t-chdir-long: Likewise.
- * tsearch.c: Likewise.
- * unicodeio.c: Likewise.
- * vasnprintf.c: Likewise.
- * xfts.c: Likewise.
- * xmemxfrm.c: Likewise.
-
- * .cvsignore: Add configmake.h, stamp-h1.
-
-2006-08-23 Paul Eggert
-
- * .cvsignore: Add config.h, config.hin.
- * Makefile.am (AM_CPPFLAGS): Remove; we no longer need '-I..'.
-
-2006-08-22 Paul Eggert
-
- * .cvsignore: Add Makefile.in, getdate.tab.h.
- Remove stat.c, sysexit.h.
-
-2006-08-22 Jim Meyering
-
- * .cvsignore: Add files that are now generated by ../bootstrap.
-
-2006-08-21 Eric Blake
-
- * Makefile.am (LDADD): Restore this line; it is still needed for
- t-fpending on platforms without __fpending.
-
-2006-08-20 Paul Eggert
-
- Add a bootstrap procedure, so that the CVS version contains fewer
- files and we bootstrap the rest from gnulib, gettext, etc.
- * Makefile.am: include gnulib.mk, so that we can remove most of
- this file.
- (AM_CPPFLAGS): Don't mention -I$(srcdir), since that's now done
- for us.
- (noinst_LIBRARIES, LDDADD, DEFS): Remove.
- (libcoreutils_a_SOURCES): Trim down greatly, just to the files
- that aren't in gnulib.
- (libcoreutils_a_LIBADD, lib_OBJECTS, BUILT_SOURCES, CLEANFILES):
- (MAINTAINERCLEANFILES, MOSTLYCLEANDIRS, MOSTLYCLEANFILES):
- (SUFFIXES, EXTRA_DIST, all-local, charset_alias, charset_tmp):
- (install-exec-local, uninstall-local, charset.alias, .sin.sed):
- (stdbool.h, stdint.h, fnmatch.h, arpa/inet.h, netinet/in.h):
- (sys/socket.h, getopt.h): Remove.
-
- * Makefile.in, README, __fpending.c, __fpending.h, acl.c, acl.h:
- * alloca.c, alloca_.h, allocsa.c, allocsa.h, argmatch.c, argmatch.h:
- * asnprintf.c, asprintf.c, at-func.c, atexit.c, backupfile.c:
- * backupfile.h, base64.c, base64.h, basename.c, bcopy.c, c-strtod.c:
- * c-strtod.h, c-strtold.c, calloc.c, canon-host.c, canon-host.h:
- * canonicalize.c, canonicalize.h, chdir-long.c, chdir-long.h:
- * chdir-safer.c, chdir-safer.h, chown.c, cloexec.c, cloexec.h:
- * close-stream.c, close-stream.h, closeout.c, closeout.h:
- * config.charset, creat-safer.c, cycle-check.c, cycle-check.h:
- * dev-ino.h, diacrit.c, diacrit.h, dirchownmod.c, dirchownmod.h:
- * dirfd.c, dirfd.h, dirname.c, dirname.h, dup-safer.c, dup2.c:
- * error.c, error.h, euidaccess.c, euidaccess.h, exclude.c:
- * exclude.h, exit.h, exitfail.c, exitfail.h, fchown-stub.c:
- * fcntl--.h, fcntl-safer.h, fd-safer.c, file-type.c, file-type.h:
- * fileblocks.c, filemode.c, filemode.h, filenamecat.c:
- * filenamecat.h, fnmatch.c, fnmatch_.h, fnmatch_loop.c:
- * fopen-safer.c, fprintftime.c, fprintftime.h, free.c, fsusage.c:
- * fsusage.h, ftruncate.c, fts-cycle.c, fts.c, fts_.h, full-read.c:
- * full-read.h, full-write.c, full-write.h, gai_strerror.c:
- * getaddrinfo.c, getaddrinfo.h, getcwd.c, getcwd.h, getdate.h:
- * getdate.y, getdelim.c, getdelim.h, getgroups.c, gethostname.c:
- * gethrxtime.c, gethrxtime.h, getline.c, getline.h, getloadavg.c:
- * getndelim2.c, getndelim2.h, getopt.c, getopt1.c, getopt_.h:
- * getopt_int.h, getpagesize.h, getpass.c, getpass.h, gettext.h:
- * gettime.c, gettimeofday.c, getugroups.c, getusershell.c:
- * group-member.c, group-member.h, hard-locale.c, hard-locale.h:
- * hash-pjw.c, hash-pjw.h, hash.c, hash.h, human.c, human.h:
- * idcache.c, imaxtostr.c, inet_ntop.c, inet_ntop.h, intprops.h:
- * inttostr.c, inttostr.h, lchmod.h, lchown.c, lchown.h:
- * linebuffer.c, linebuffer.h, localcharset.c, localcharset.h:
- * long-options.c, long-options.h, lstat.c, lstat.h, malloc.c:
- * mbchar.c, mbchar.h, mbswidth.c, mbswidth.h, mbuiter.h, md5.c:
- * md5.h, memcasecmp.c, memcasecmp.h, memchr.c, memcmp.c, memcoll.c:
- * memcoll.h, memcpy.c, memmove.c, mempcpy.c, mempcpy.h, memrchr.c:
- * memrchr.h, memset.c, mkancesdirs.c, mkancesdirs.h, mkdir-p.c:
- * mkdir-p.h, mkdir.c, mkdirat.c, mkstemp-safer.c, mkstemp.c:
- * mktime.c, modechange.c, modechange.h, mountlist.c, mountlist.h:
- * nanosleep.c, obstack.c, obstack.h, offtostr.c, open-safer.c:
- * openat-die.c, openat-priv.h, openat.c, openat.h, pathmax.h:
- * physmem.c, physmem.h, pipe-safer.c, posixtm.c, posixtm.h:
- * posixver.c, posixver.h, printf-args.c, printf-args.h:
- * printf-parse.h, putenv.c, quote.c, quote.h, quotearg.c:
- * quotearg.h, raise.c, readlink.c, readtokens.c, readtokens.h:
- * readtokens0.c, readtokens0.h, readutmp.c, readutmp.h, realloc.c:
- * ref-add.sin, ref-del.sin, regcomp.c, regex.c, regex.h:
- * regex_internal.c, regex_internal.h, regexec.c, rename.c, rmdir.c:
- * rpmatch.c, safe-read.c, safe-read.h, safe-write.c, safe-write.h:
- * same-inode.h, same.c, same.h, save-cwd.c, save-cwd.h, savedir.c:
- * savedir.h, setenv.c, setenv.h, settime.c, sha1.c, sha1.h:
- * sig2str.c, sig2str.h, snprintf.c, snprintf.h, socket_.h:
- * stat-macros.h, stat-time.h, stdbool_.h, stdint_.h, stdio--.h:
- * stdio-safer.h, stdlib--.h, stdlib-safer.h, stpcpy.c, strcase.h:
- * strcasecmp.c, strcspn.c, strdup.c, strdup.h, strftime.c:
- * strftime.h, stripslash.c, strncasecmp.c, strndup.c, strndup.h:
- * strnlen.c, strnlen.h, strnlen1.c, strnlen1.h, strpbrk.c, strstr.c:
- * strstr.h, strtod.c, strtoimax.c, strtol.c, strtoll.c, strtoul.c:
- * strtoull.c, strtoumax.c, strverscmp.c, strverscmp.h, tempname.c:
- * time_r.c, time_r.h, timespec.h, umaxtostr.c, unicodeio.h:
- * unistd--.h, unistd-safer.h, unlinkdir.c, unlinkdir.h:
- * unlocked-io.h, unsetenv.c, userspec.c, userspec.h, utime.c:
- * utimecmp.c, utimecmp.h, utimens.c, utimens.h, vasnprintf.h:
- * vasprintf.c, vasprintf.h, verify.h, version-etc-fsf.c:
- * version-etc.c, version-etc.h, wcwidth.h, xalloc-die.c, xalloc.h:
- * xgetcwd.c, xgetcwd.h, xgethostname.c, xgethostname.h, xmalloc.c:
- * xmemcoll.c, xmemcoll.h, xnanosleep.c, xnanosleep.h, xreadlink.c:
- * xreadlink.h, xstrndup.c, xstrndup.h, xstrtod.c, xstrtod.h:
- * xstrtoimax.c, xstrtol.c, xstrtol.h, xstrtold.c, xstrtoul.c:
- * xstrtoumax.c, xtime.h, yesno.c, yesno.h:
- Remove from CVS, since ../bootstrap generates them automatically.
-
-2006-08-18 Bruno Haible
-
- * mountlist.c [MOUNTED_GETMNTINFO2]: Include sys/statvfs.h.
- (ME_DUMMY): Treat "kernfs" as a dummy.
- (read_file_system_list) [MOUNTED_GETMNTINFO2]: Implement.
-
-2006-08-17 Paul Eggert
-
- * ChangeLog: Add copyright notice.
- * .gdb-history: Likewise.
- * TODO: Likewise.
- * __fpending.h: Likewise.
- * fdopendir-glibc.c: Likewise.
- * fprintftime.h: Likewise.
- * root-dev-ino.h: Likewise.
- * search_.h: Likewise.
- * t-chdir-long: Likewise.
- * t-fpending.c: Likewise.
- * savedir.c: Use (C) in copyright notice.
- * savedir.h: Likewise.
-
-2006-08-16 Paul Eggert
-
- * memcoll.c (memcoll): Set errno = 0 in the shortcut case, too.
- Problem and fix reported by Pádraig Brady in
- .
-
-2006-08-16 Jim Meyering
-
- * fts.c (fts_children): Remove obsolete "// FIXME ..." comment.
- Reported by Bruno Haible.
-
-2006-08-15 Jim Meyering
-
- * at-func.c: New file, with the logic of all emulated at-functions.
- * openat-priv.h: Include and define ENOSYS,
- in support of the EXPECTED_ERRNO macro.
- * openat.c (fstatat, unlinkat, fchownat): Remove function definitions.
- Instead, define the appropriate symbols and include "at-func.c".
- * mkdirat.c (mkdirat): Likewise.
- * fchmodat.c (fchmodat): Likewise.
- (ENOSYS): Remove definition.
- * openat.c: Don't include , now that "openat-priv.h" does it.
- Don't include "unistd--.h" -- it wasn't ever used.
-
-2006-08-14 Paul Eggert
-
- * memcoll.c (memcoll): Optimize for the common case where the
- arguments are bytewise equal.
-
-2006-08-11 Paul Eggert
-
- * pipe-safer.c (pipe_safer): Fix misspelling: HAVE_FUNC_PIPE ->
- HAVE_PIPE. Fix a file descriptor leak when fd_safer fails.
-
- * regex_internal.c (re_string_skip_chars): Don't assume WEOF fits
- in wchar_t. Problem reported by Eric Blake.
-
- * snprintf.c (snprintf): memcpy LEN bytes, not SIZE - 1, when
- LEN is smaller than SIZE. Suggested by Bruno Haible.
- Also, help the compiler to keep LEN in a register.
-
-2006-08-10 Paul Eggert
-
- Import the following changes from libc:
-
- 2006-06-02 Jakub Jelinek
-
- * posix/regex_internal.c (re_string_skip_chars): If no character has
- been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc
- to the byte which couldn't be converted.
- (re_string_reconstruct): Don't clear valid_raw_len before calling
- re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set
- tip_context using re_string_context_at.
-
- 2006-05-02 Ulrich Drepper
-
- * posix/regex.h: g++ still cannot handled [restrict].
-
- 2006-04-21 Ulrich Drepper
-
- * posix/regex.h: Remove special handling for VMS.
-
- Accommodate new getaddrinfo implementation in gnulib.
- * inet_ntop.c, inet_ntop.h, snprintf.c, snprintf.h, socket_.h:
- New files, from gnulib.
- * .cppi-disable: Add snprintf.h, socket_.h.
- * Makefile.am (libcoreutils_a_SOURCES): Add inet_ntop.h, snprintf.h.
- (MOSTLYCLEANDIRS): New macro.
- (BUILT_SOURCES): Add $(ARPA_INET_H), $(SYS_SOCKET_H), $(NETINET_IN_H).
- (arpa/inet.h, netinet/in.h, sys/socket.h): New rules.
- (MOSTLYCLEANFILES): Add arpa/inet.h, arpa/inet.h-t, netinet/in.h,
- netinet/in.h-t, sys/socket.h, sys/socket.h-t.
- (EXTRA_DIST): Add socket_.h.
-
-2006-08-09 Paul Eggert
-
- * allocsa.h, config.charset, error.c, error.h, exitfail.c, full-write.c:
- * getaddrinfo.c, getaddrinfo.h, gettext.h, localcharset.c, mbchar.h:
- * mbswidth.c, mkstemp-safer.c, pipe-safer.c, printf-args.c, quote.c:
- * readlink.c, regex_internal.h, setenv.c, stdint_.h, stdio--.h:
- * stdio-safer.h, stpcpy.c, strcspn.c, strtoimax.c, vasnprintf.h:
- * version-etc.c, wcwidth.h:
- Update from gnulib.
-
-2006-08-09 Jim Meyering
-
- * rand-isaac.c: Include .
-
-2006-08-08 Paul Eggert
-
- * Makefile.am (libcoreutils_a_SOURCES): Add xmemxfrm.c, xmemxfrm.h.
- * memxfrm.c, memxfrm.h, randint.c, randint.h, randperm.c, randperm.h:
- * randread.c, randread.h, xmemxfrm.c, xmemxfrm.h: New files.
- * rand-isaac.h: New file.
- * rand-isaac.c: New file, mostly taken from ../src/rand-isaac.c.
-
-2006-07-28 Paul Eggert
-
- * modechange.c (mode_compile): Numeric modes now affect setuid and
- setgid on directories only if they set these bits.
- * modechange.h: Remove obsolete comment about masks.
-
-2006-07-22 Paul Eggert
-
- * close-stream.c, close-stream.h: New files.
- * closeout.c (close_stdout): Use new function close_stream.
-
-2006-07-19 Mike Frysinger
-
- * mountlist.c [ME_REMOTE]: Filter out cifs.
- Reported by Toralf Förster in .
-
-2006-07-20 Jim Meyering
-
- * mountlist.c (ME_REMOTE): Compare strchr's result to NULL, not 0,
- for better readability.
-
-2006-07-16 Paul Eggert
-
- * dirchownmod.c, dirchownmod.h, mkancesdirs.c, mkancesdirs.h:
- New files.
- * mkdir-p.c: Don't include alloca.h, stdio.h, sys/types.h,
- unistd.h, string.h, chdir-safer.h, dirname.h, lchmod.h, lchown.h,
- save-cwd.h. Instead, include dirchownmod.h and mkancesdirs.h.
- (make_dir_parents): New args MAKE_ANCESTOR, OPTIONS, ANNOUNCE,
- MODE_BITS. Remove options VERBOSE_FMT_STRING, CWD_ERRNO. All
- callers changed. Revamp internals significantly, by not
- attempting to create directories that are temporarily more
- permissive than the final results. Do not attempt to use
- save_cwd/restore_cwd; it isn't worth it for mkdir and install.
- This removes some race conditions, fixes some bugs, and simplifies
- things. Use new dirchownmod function to do owner and mode changes.
- * mkdir-p.h: Likewise.
- * modechange.c (octal_to_mode): New function.
- (struct mode_change): New member mentioned.
- (make_node_op_equals): New arg mentioned. All callers changed.
- (mode_compile): Keep track of which mode bits the user has explicitly
- mentioned.
- (mode_adjust): New arg DIR, so that we implement the X op correctly.
- New arg PMODE_BITS, to keep track of which mode bits the user
- mentioned; it treats S_ISUID and S_ISGID speciall.
- All callers changed.
- * modechange.h: Likewise.
-
-2006-07-16 Jim Meyering
-
- * userspec.c (parse_with_separator): Say "invalid spec" rather than
- the sometimes erroneous "cannot get the login group of a numeric UID"
- for a spec like "not-a-username:" or "1:". Reported by
- suckfish@ihug.co.nz in https://bugzilla.redhat.com/bugzilla/199027.
-
-2006-07-10 Derek R. Price
-
- * backupfile.c, dirfd.h, fts.c, getcwd.c:
- Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
- macros into the GNU _D_EXACT_NAMLEN.
- * savedir.c: Likewise.
- (savedirstream): Use _D_EXACT_NAMLEN in preference to strlen.
-
-2006-07-08 Paul Eggert
-
- * Makefile.am (stdint.h): FULL_PATH_STDINT_H -> ABSOLUTE_STDINT_H,
- to accommodate update from gnulib.
-
- Update from gnulib, as follows:
-
- 2006-07-06 Jim Hyslop (tiny change)
-
- * getaddrinfo.c: Changes to compile under MSVC6: changed
- '#if WIN32_NATIVE' to '#ifdef' & moved WSAAPI macro inside
- brackets. Other minor changes to suppress some compiler
- warnings.
-
- 2006-07-06 Paul Eggert
-
- * getloadavg.c: Use __VMS, not VMS.
- * getopt.c: Likewise.
- * getpagesize.h: Likewise.
-
- 2006-07-06 Derek R. Price
- and Paul Eggert
-
- * backupfile.c [HAVE_DIRENT_H && ! HAVE_NDIR_H]:
- Don't worry about this obsolete case any more.
- (HAVE_DIR): Remove. All uses removed; we now assume you can read
- directories.
- * dirfd.h [HAVE_DIRENT_H && ! HAVE_NDIR_H]: Don't
- worry about this obsolete case any more.
- * fts.c: Likewise.
- * getcwd.c: Likewise.
- * savedir.c: Likewise.
-
- 2006-07-06 Paul Eggert
-
- * fnmatch.c (ISBLANK): Remove. All uses changed to isblank.
- (isblank) [! (defined isblank || HAVE_DECL_ISBLANK)]: New macro.
- (ISGRAPH): Remove. All uses changed to isgraph.
- (FOLD) [!defined _LIBC]: Remove special case.
- * getdate.y (lookup_word): Remove no-longer-needed call to islower.
- * regext_internal.h (isblank): Depend on HAVE_DECL_ISBLANK, not
- HAVE_ISBLANK.
- * strftime.c (TOLOWER, TOUPPER) [!defined _LIBC]: Remove special case.
-
- 2006-07-06 Ralf Wildenhues
-
- * strtod.c (strtod): cast the argument of tolower to unsigned char.
-
- 2006-07-05 Paul Eggert
-
- * memcasecmp.c: Include .
- (memcasecmp): Don't assume UCHAR_MAX <= INT_MAX.
- * strtod.c (strtod): Don't assume isspace works on negative chars.
- Don't assume isdigit succeeds only on '0' through '9'.
-
- 2006-07-05 Derek R. Price
-
- * exclude.c (IN_CTYPE_DOMAIN, is_space): Remove; no longer needed.
- All uses of is_space replaced by isspace.
- * exit.h: Don't talk about STDC_HEADERS.
- * fnmatch.c (ISASCII): Remove; no longer needed. All uses removed.
- (ISPRINT, ISDIGIT, ISALNUM, ISALPHA, ISCNTRL, ISLOWER, ISPUNCT):
- (ISSPACE, ISUPPER, ISXDIGIT): Remove; no longer needed. All uses
- replaced by isprint etc.
- * getdate.y (IN_CTYPE_DOMAIN, ISSPACE, ISALPHA, ISLOWER): Likewise.
- * getusershell.c (IN_CTYPE_DOMAIN, ISSPACE): Likewise.
- * memcasecmp.c (IN_CTYPE_DOMAIN, ISLOWER, TOUPPER): Likewise.
- * strtod.c (IN_CTYPE_DOMAIN, ISSPACE, ISDIGIT, TOLOWER): Likewise.
- * strtol.c (IN_CTYPE_DOMAIN): Likewise.
- * xstrtol.c (IN_CTYPE_DOMAIN, ISSPACE): Likewise.
-
- 2006-07-05 Eric Blake
-
- * getaddrinfo.h (NI_NUMERICHOST, NI_NUMERICSERV): Define if
- missing from netdb.h.
- * getaddrinfo.c (includes): Include inet_ntop and snprintf.
-
- 2006-06-27 Bruno Haible
-
- Assume ANSI C header files and functions.
- * mbswidth.c (IN_CTYPE_DOMAIN, ISPRINT, ISCNTRL): Remove macros.
- (mbsnwidth): Use isprint, iscntrl instead.
-
-2006-07-08 Jim Meyering
-
- * getndelim2.h (getndelim2): Remove doubled "after" in comment.
-
-2006-07-03 Paul Eggert
-
- * Makefile.am (libcoreutils_a_SOURCES): Add setenv.h, wcwidth.h,
- to accommodate sync from gnulib.
-
- Sync from gnulib.
-
- 2006-06-30 Jim Hyslop (tiny change)
-
- * getaddrinfo.c: fixed typo
-
- 2006-06-28 Bruno Haible
-
- * getaddrinfo.h: Fix POSIX URL.
- * getaddrinfo.c (WIN32_NATIVE): New macro. Use it instead of _WIN32.
- (use_win32_p): Make static.
- (getaddrinfo): Reject service name if it is empty or does not consist
- solely of decimal digits, or if its value is > 65535.
- (getnameinfo): Remove useless casts.
-
- 2006-06-28 Eric Blake
-
- * mbchar.h (wcwidth): Include wcwidth.h.
- * mbswidth.c (wcwidth): Move from here...
- * wcwidth.h: ...to this new file.
-
- 2006-06-28 Simon Josefsson
-
- * getaddrinfo.c: Try to load ws2_32.dll on Windows, to find the
- functions there. It will succeed on Windows XP, but on Windows
- 2000 and (presumably) earlier, it will fail, and use the internal
- re-implementation.
- (use_win32_p): New function.
- (getaddrinfo): Use strtoul on servname, to support numeric ports.
- Support AI_NUMERICSERV to disable getservbyname.
- (getnameinfo): New function, only supports
- NI_NUMERICHOST|NI_NUMERICSERV for now.
-
- * getaddrinfo.h: Test and check for AI_* flags separately, MinGW
- only have some of them. Add AI_NUMERICSERV. Add prototype for
- getnameinfo.
-
- 2006-06-26 Paul Eggert
-
- * base64.c (B64): Use _ as the formal parameter, not x, to avoid
- bug in IBM C V6 for AIX. Problem reported by Larry Jones in
- .
-
- 2006-06-21 Simon Josefsson
-
- * getaddrinfo.c (getaddrinfo): Set ai_family in the return
- variable.
-
- 2006-06-19 Paul Eggert
-
- * alloca_.h (alloca) [defined alloca]: Don't define or declare.
-
- 2006-06-16 Eric Blake
-
- * unsetenv.c [!defined errno]: Assume errno.h declares errno.
- * unicodeio.c [!defined errno]: Likewise.
- * strtol.c [!defined errno]: Likewise.
- * strtod.c [!defined errno]: Likewise.
-
- 2006-05-26 Martin Lambers
-
- * getpass.c: Updates the test for the native W32 API, and adds
- missing includes, thus fixing compilation warnings.
-
- 2006-05-25 Sergey Poznyakoff
-
- * exclude.c (exclude_fnmatch): New function.
- (excluded_file_name): Call exclude_fnmatch.
- * exclude.h (excluded_file_name): New prototype
-
- 2006-05-19 Jim Meyering
-
- * getugroups.c: Correct an outdated comment. From Bruno Haible.
-
- 2006-05-10 Paul Eggert
-
- * sha1.c (rol): Cast right-shift arg to uint32_t to prevent
- unwanted sign propagation, e.g., on hosts with 64-bit int.
- There still are some problems with reeelly weird theoretical hosts
- (e.g., 33-bit int) but it's not worth worrying about now.
- (K1, K2, K3, K4): Remove unnecessary L suffix.
-
- 2006-03-24 Simon Josefsson
-
- * base64.c: Fix problems reported by Eric Blake ,
- including some doc fixes.
- (base64_encode_alloc): Fix +1 bug on allocation failures.
-
- 2006-03-24 Ralf Wildenhues
-
- * base64.c (base64_encode): Do not read past end of array with
- unsanitized input on systems with CHAR_BIT > 8.
-
- 2006-03-24 Eric Blake
-
- * time_r.c (copy_string_result): Remove, as it is no longer used.
-
-2006-07-03 Paul Eggert
-
- * stdint_.h: Include after @FULL_PATH_STDINT_H@, for
- MacOS X 10.4.6. Don't mention . Problems
- reported by Mark D. Baushke, one in
- .
-
-2006-07-03 Jim Meyering
-
- * cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if this
- macro is used before the first cycle_check call.
-
-2006-07-02 Paul Eggert
-
- * stdint_.h (intmax_t, uintmax_t): Prefer long to long long if
- both are 64 bits, since this seems to be the tradition, and this
- prevents gcc -Wformat from warning about usages with PRIuMAX. If
- we ever run into a host that prefers long long to long in this
- case, we'll need another configure-time test. Problem reported by
- Jim Meyering.
-
-2006-07-02 Paul Eggert
-
- * Makefile.am (stdint.h): Sync from gnulib.
- * stdint_.h: Sync from gnulib.
-
-2006-06-30 Paul Eggert
-
- * xstrtod.c (XSTRTOD, DOUBLE): New macros, so that we can support
- both double and long double versions.
- (XSTRTOD): Renamed from xstrtod. Use DOUBLE internally.
- * xstrtold.c: New file.
- * xstrtod.h (xstrtold): New decl.
-
-2006-06-29 Derek R. Price
-
- * strftime.c: Assume strftime exists.
-
-2006-06-28 Derek R. Price
-
- * savedir.c (CLOSEDIR): Remove. All uses changed to closedir.
- Autoconf 2.60 says this stuff was obsolete.
-
-2006-06-20 Paul Eggert
-
- * openat.c (openat): Use ?:, not if, to work around GCC bug 4210
- .
- Problem reported by Denis Excoffier in
- .
-
-2006-06-19 Jim Meyering
-
- Apply this change from gnulib:
- 2006-06-16 Eric Blake
- * unsetenv.c [!defined errno]: Assume errno.h declares errno.
-
-2006-06-11 Paul Eggert
-
- * getdate.y (__attribute__): Don't define if already defined.
- Problem reported by Larry Jones.
- * utimens.c (__attribute__): Likewise.
-
-2006-06-10 Jim Meyering
-
- Apply this change from gnulib:
-
- 2006-05-30 Ralf Wildenhues
- Bruno Haible
-
- * strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.
-
-2006-06-04 Paul Eggert
-
- * regexec.c (group_nodes_into_DFAstates): Fix a buffer overrun
- reported by Andreas Schwab.
-
-2006-05-25 Paul Eggert
-
- * tempname.c (small_open, large_open): New macros.
- (__open, __open64) [!_LIBC]: Remove.
- (__gen_tempname): Use small_open and large_open instead of __open
- and __open64. This fixes a portability bug on HP-UX 11.11i
- reported by Simon Wing-Tang in
- .
-
-2006-05-23 Paul Eggert
-
- * filemode.c: Don't include ; this include was
- inadvertently put into the previous patch. Problem noted
- by Jim Meyering.
-
-2006-05-22 Paul Eggert
-
- * filemode.c (setst): Remove.
- (strmode): Rewrite to avoid setst. This makes the code shorter,
- (arguably) clearer, and the generated code is a bit smaller on my
- Debian GNU/Linux stable x86 host.
-
- Import from gnulib.
- * verify.h: Document the internals better. Most of this change
- was written by Bruno Haible.
-
-2006-05-21 Jim Meyering
-
- * fts.c (fts_open): Fail with EINVAL if a caller violates this rule:
- Either FTS_LOGICAL or FTS_PHYSICAL must be provided to the
- fts_open() function.
-
-2006-05-19 Paul Eggert
-
- * nanosleep.c [HAVE_SYS_SELECT_H]: Include .
- Use the usual Autoconf way to include and/or sys/time.h.
- (my_usleep): Don't mishandle maximum value.
-
-2006-05-15 Jim Meyering
-
- Avoid the expense of an fstat, when possible.
- * fts.c (O_NOFOLLOW, STREQ): Define.
- (diropen_fd): Remove function. Merge it into sole caller...
- (diropen): ...here. Use O_NOFOLLOW when appropriate.
- (fts_safe_changedir): Call fstat for dev/inode check, only if the
- previous open/openat call may have opened the wrong directory.
-
-2006-05-13 Jim Meyering
-
- * xfts.c (xfts_open): Always use FTS_CWDFD.
-
- Restore the parts of fts that were removed on 2006-01-17, so that
- it's easier for legacy applications designed for the version
- of fts in glibc or BSD to convert to this more robust version.
- Add a new mode, FTS_CWDFD, by which to enable the improved
- (openat- based -- aka no-chdir) semantics.
- * fts_.h (FTS_CWDFD): Define. Callers must use this fts_open
- option to enable the more robust behavior.
- (FTS_OPTIONMASK): Widen accordingly.
- * fts.c: Restore removed code, reverting the default behavior.
-
-2006-05-11 Jim Meyering
-
- * sha1.c (sha1_buffer): Correct comment: s/MD5/SHA1/. From James Lemley.
-
-2006-04-25 Paul Eggert
-
- * getdate.y (get_date): When adding relative date, start with the
- initial time, not with the result of the first mktime call.
-
-2006-04-17 Paul Eggert
-
- * filemode.c: Include "filemode.h" first, to test the interface.
- Assume that filemode.h includes sys/types.h and sys/stat.h.
- (HAVE_ST_DM_MODE): New macro, moved here from ls.c.
- (ftypelet): Reorder to put common cases first, for efficiency.
- Add 'P', 'w'. Remove 'M', since it's now the caller's responsibility
- to do 'M'.
- (strmode): Renamed from mode_string, and now stores 12 bytes instead
- of 10, for compatibility with FreeBSD. All callers changed.
- (filemodestring): Now stores 12 bytes instead of 10, and sets file types
- that can't be deduced solely from st_mode. First arg is now a const
- pointer.
- * filemode.h (HAVE_DECL_STRMODE): Include for strmode.
- (strmode): Renamed from mode_string.
- (filemodestring): New decl.
- * stat-macros.h: Don't undef S_ISDOOR, since it's never buggy.
- (S_ISDOOR): Don't bother with S_IFDOOR, since that code is never needed.
- (S_ISPORT, S_ISWHT): New macros, if not already defined.
-
- * openat.h (openat_needs_fchdir) [ ! defined __OPENAT_PREFIX]:
- Turn this into a macro that always returns false.
-
-2006-04-15 Paul Eggert
-
- * utimens.c (futimens): glibc futimesat messes up if /proc
- isn't mounted. Problem reported by Kir Kolyshkin.
-
-2006-04-14 Jim Meyering
-
- Remove unreachable code and plug leaks in code that handles degenerate
- input and some failure cases.
- * fts.c (fts_build): #if-0-out a block of unused code. Patch from glibc.
- (fts_build): Remove just-#if-0'd code and the code that
- declares and sets cderrno.
- (fts_build): Free `head' before returning NULL, in two places,
- to avoid leaks. Patch from glibc.
- (fts_open): Don't allocate parent if *argv==NULL. Patch from glibc.
-
-2006-04-13 Paul Eggert
-
- * regcomp.c (init_dfa): Don't use wchar_t or wctype_t if RE_ENABLE_I18N
- is not defined. Problem reported by Mark D. Baushke via Derek R. Price.
- * regex.h (RE_DUP_MAX): Update comment to match current implementation.
-
-2006-04-12 Paul Eggert
-
- * fsusage.c: Don't include or , since
- fsusage.h now does that. Include fsusage.h first, to test interface.
- Prefer statvfs if it works, since it's blessed by POSIX. Attempt
- at most one method (the old code could have generated decls that
- didn't conform to C89, not that this was ever exercised).
- * fsusage.h: Include and if they exist.
-
-2006-04-09 Paul Eggert
-
- Merge regex changes from libc, removing some of our
- POSIX-conformance changes that were rejected and redoing them in a
- less-intrusive way.
-
- * regcomp.c (re_compile_internal, init_dfa):
- Length arg is now size_t, not Idx. All uses changed.
- (peek_token): Forward decl now says internal_function.
- (__re_error_msgid, __re_error_msgid_idx):
- Now static rather than extern with attribute_hidden.
- (re_compile_pattern) [!defined _LIBC]: Use K&R-style defn.
- For some reason libc prefers K&R style defns for external functions.
- (regerror) [!defined _LIBC]: Likewise.
- (re_set_syntax, re_compile_fastmap, regcomp, regfree, re_comp):
- (seek_collating_symbol_entry, lookup_collation_sequence_value):
- (build_range_exp, build_collating_symbol):
- Use K&R-style defn.
- (re_compile_fastmap): Use '\0' to memset, not 0.
- (utf8_sb_map): Make the calculations more obvious.
- (init_dfa, parse_bracket_exp, build_charclass_op):
- Call calloc and cast result, as glibc does.
- (init_word_char, fetch_token, peek_token, peek_token_bracket):
- (build_range_exp, build_collating_symbol):
- Now internal functions.
-
- * regex.c [!defined _LIBC]: Allow compiling with C++ compilers.
-
- * regex.h (__USE_GNU_REGEX): New macro. Don't depend on
- _REGEX_SOURCE any more; depend on _GNU_SOURCE instead.
- Don't depend on VMS; depend on __VMS instead, for POSIX
- namespace cleanness.
- (regoff_t): Define to ssize_t, not long int.
-
- Remove the REG_ macros named below. Instead, make the old names
- (e.g., RE_BACKSLASH_ESCAPE_IN_LISTS) visible only if
- __USE_GNU_REGEX.
- (REG_BACKSLASH_ESCAPE_IN_LISTS):
- (REG_BK_PLUS_QM, REG_CHAR_CLASSES, REG_CONTEXT_INDEP_ANCHORS):
- (REG_CONTEXT_INDEP_OPS, REG_CONTEXT_INVALID_OPS):
- (REG_DOT_NEWLINE, REG_DOT_NOT_NULL, REG_HAT_LISTS_NOT_NEWLINE):
- (REG_INTERVALS, REG_LIMITED_OPS, REG_NEWLINE_ALT):
- (REG_NO_BK_BRACES, REG_NO_BK_PARENS, REG_NO_BK_REFS):
- (REG_NO_BK_VBAR, REG_NO_EMPTY_RANGES):
- (REG_UNMATCHED_RIGHT_PAREN_ORD, REG_NO_POSIX_BACKTRACKING):
- (REG_NO_GNU_OPS, REG_DEBUG, REG_INVALID_INTERVAL_ORD):
- (REG_IGNORE_CASE, REG_CARET_ANCHORS_HERE):
- (REG_CONTEXT_INVALID_DUP, REG_NO_SUB, REG_SYNTAX_EMACS):
- (REG_SYNTAX_AWK, REG_SYNTAX_GNU_AWK, REG_SYNTAX_POSIX_AWK):
- (REG_SYNTAX_GREP, REG_SYNTAX_EGREP, REG_SYNTAX_POSIX_EGREP):
- (REG_SYNTAX_ED, REG_SYNTAX_SED, _REG_SYNTAX_POSIX_COMMON):
- (REG_SYNTAX_POSIX_BASIC, REG_SYNTAX_POSIX_MINIMAL_BASIC):
- (REG_SYNTAX_POSIX_EXTENDED, REG_SYNTAX_POSIX_MINIMAL_EXTENDED):
- (REG_DUP_MAX, REG_UNALLOCATED, REG_REALLOCATE, REG_FIXED):
- (REG_NREGS):
- Remove. All uses replaced by the old RE_* names.
- (RE_BACKSLASH_ESCAPE_IN_LISTS):
- (RE_BK_PLUS_QM, RE_CHAR_CLASSES, RE_CONTEXT_INDEP_ANCHORS):
- (RE_CONTEXT_INDEP_OPS, RE_CONTEXT_INVALID_OPS):
- (RE_DOT_NEWLINE, RE_DOT_NOT_NULL, RE_HAT_LISTS_NOT_NEWLINE):
- (RE_INTERVALS, RE_LIMITED_OPS, RE_NEWLINE_ALT):
- (RE_NO_BK_BRACES, RE_NO_BK_PARENS, RE_NO_BK_REFS):
- (RE_NO_BK_VBAR, RE_NO_EMPTY_RANGES):
- (RE_UNMATCHED_RIGHT_PAREN_ORD, RE_NO_POSIX_BACKTRACKING):
- (RE_NO_GNU_OPS, RE_DEBUG, RE_INVALID_INTERVAL_ORD):
- (RE_IGNORE_CASE, RE_CARET_ANCHORS_HERE):
- (RE_CONTEXT_INVALID_DUP, RE_NO_SUB):
- Don't bother having these macros be independent of each others'
- values, since they no longer exist in the POSIX name space.
-
- Rename the following member names back to their old names,
- unless !__USE_GNU_REGEX. All uses changed back.
- (buffer): Renamed from re_buffer.
- (allocated): Renamed from re_allocated.
- (used): Renamed from re_used.
- (syntax): Renamed from re_syntax.
- (fastmap): Renamed from re_fastmap.
- (translate): Renamed from re_translate.
- (can_be_null): Renamed from re_can_be_null.
- (regs_allocated): Renamed from re_regs_allocated.
- (fastmap_accurate): Renamed from re_fastmap_accurate.
- (no_sub): Renamed from re_no_sub.
- (not_bol): Renamed from re_not_bol.
- (not_eol): Renamed from re_not_eol.
- (newline_anchor): Renamed from re_newline_anchor.
- (num_regs): Renamed from rm_num_regs.
- (start): Renamed from rm_start.
- (end): Renamed from rm_end.
-
- (free_state): Move up a bit.
-
- * regex_internal.h (inline) [__GNUC__ < 3 && defined _LIBC]:
- #define to be empty.
- (ASCII_CHARS): New macro, replacing all uses of 0x80 and/or SBC_MAX / 2
- when that is what is intended.
- (SBC_MAX): Define to UCHAR_MAX + 1, not 256.
- (__re_error_msgid, __re_error_msgid_idx): Remove decls; not needed.
- (MAX): New macro.
- (re_xmalloc, re_calloc, re_xrealloc, re_x2realloc): Remove.
- All uses changed back to re_malloc, etc. It's now the caller's
- responsibility to check for overflow; all callers changed.
- (re_alloc_oversized, re_x2alloc_oversized, re_xnmalloc, re_xnrealloc):
- (re_x2nrealloc): Remove.
- (free_state): Remove decl.
-
- * regexc.c (regexec, re_match, re_search, re_match_2, re_search_2):
- (re_set_registers, re_exec):
- Use K&R-style defn.
-
- 2006-01-31 Roland McGrath
-
- * regcomp.c (calc_eclosure_iter): Remove dead variables.
- Reported by Mike Frysinger .
-
- 2006-01-15 Andreas Jaeger
-
- [BZ #1950]
- * regex_internal.c (re_string_reconstruct): Adjust for
- build_wcs_upper_buffer change.
- (build_wcs_upper_buffer): Change return type.
-
- 2005-12-10 Ulrich Drepper
-
- * regex_internal.h: Include if available.
-
- 2005-12-06 Paolo Bonzini
-
- * regex_internal.h (SIZE_MAX): Provide a default definition.
-
- 2005-10-14 Ulrich Drepper
-
- * regcomp.c: Adjust for changed secondary hash function.
-
- 2005-09-30 Ulrich Drepper
-
- * regex.h: Pretty printing.
- Clean up namespace a bit.
-
- 2005-09-30 Jakub Jelinek
-
- * regexec.c (update_cur_sifted_state, check_arrival,
- check_arrival_add_next_nodes): Avoid using uninitialized variable.
-
- 2005-09-06 Paul Eggert
- Ulrich Drepper
-
- [BZ #1302]
- * regex_internal.h (bitset_t): Renamed from bitset. All uses changed.
- (bitset_word_t): Renamed from bitset_word. All uses changed.
-
- 2005-09-22 Ulrich Drepper
-
- [BZ #281]
- * regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
- * regcomp.c: Remove unnecessary uses of
- unsigned RE_TRANSLATE_TYPE.
- * regex_internal.h: Likewise.
- * regex_internal.c: Likewise.
- * regexec.c: Likewise.
- Based on a patch by Stepan Kasal .
-
- 2005-09-07 Ulrich Drepper
-
- * regexec.c (find_recover_state): Remove unnecessary
- initialization.
- (transit_state_bkref): Make DFA a const pointer.
- (get_subexp): Likewise.
- (check_arrival): Likewise.
- (update_cur_sifted_state): Likewise.
- (re_search_internal): Likewise.
- (prune_impossible_nodes): Likewise.
- (acquire_init_state_context): Likewise.
- (proceed_next_node): Likewise.
- (set_regs): Likewise.
- (free_fail_stack_return): Likewise.
- (check_arrival_expand_ecl): Mark DFA parameter as const.
- (check_arrival_expand_ecl_sub): Likewise.
- (check_subexp_limits): Likewise.
- (sub_epsilon_src_nodes): Likewise.
- (add_epsilon_src_nodes): Likewise.
- (merge_state_array): Likewise.
- (update_regs): Likewise.
- (build_trtable): Likewise.
- (sift_states_backward): Mark MCTX parameter as const.
- (build_sifted_states): Likewise.
- (update_cur_sifted_state): Likewise.
- (sift_states_mkref): Likewise.
- (check_arrival_expand_ecl): Mark eclosure as const.
- (check_dst_limits_calc_pos_1): Likewise.
- * regex_internal.h (re_match_context_t): Make dfa a const
- pointer.
-
- 2005-09-06 Ulrich Drepper
-
- * regexec.c (merge_state_with_log): Define dfa as const pointer.
- (transit_state_sb): Likewise.
- (transit_state_mb): Likewise.
- (sift_states_iter_mb): Likewise.
- (check_arrival_add_next_nodes): Likewise.
- (check_node_accept_bytes): Change first parameter to pointer-to-const.
- [_LIBC] (re_search_2_stub): Use mempcpy.
-
- * regex_internal.c (re_string_reconstruct): Avoid calling
- mbrtowc for very simple UTF-8 case.
-
- * regex_internal.c (re_acquire_state): Make DFA pointer arg
- a pointer-to-const.
- (re_acquire_state_context): Likewise.
- * regex_internal.h: Adjust prototypes.
-
- * regex.c: Prevent using C++ compilers.
-
- * regex_internal.c (re_acquire_state): Minor code rearrangement.
- (re_acquire_state_context): Likewise.
-
-2006-03-11 Eric Blake
-
- * same.c (same_name): s/base_name/last_component/
- * backupfile.c (check_extension, numbered_backup): Likewise.
- * filenamecat.c (file_name_concat): Likewise.
-
-2006-03-11 Eric Blake ,
- Paul Eggert
-
- * dirname.h (FILE_SYSTEM_PREFIX_LEN): Move here from dos.m4.
- [FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: Don't treat 1: as a
- drive prefix.
- (IS_ABSOLUTE_FILE_NAME): Treat all drive letters as absolute on
- platforms like cygwin with FILE_SYSTEM_DRIVE_PREFIX_IS_ABSOLUTE.
- (last_component): New method.
- * dirname.c (dir_len): Determine when drive letters need a
- subsequent slash. Preserve // when it is special.
- (dir_name): Don't append dot when drive letter is absolute.
- [TEST_DIRNAME]: Move into a full-blown gnulib test.
- * basename.c (base_name): New semantics - malloc the result.
- Preserve // when it is special. Preserve relative files that look
- like drive letters.
- (base_len): Preserve // when it is special.
- (last_component): New method, similar to old base_name semantics.
- * stripslash.c (strip_trailing_slashes): Use last_component, not
- base_name. Strip redundant slashes from ///.
-
-2006-03-19 Jim Meyering
-
- Work even in a chroot where d_ino values for entries in "/"
- don't match the stat.st_ino values for the same names.
- * getcwd.c (__getcwd): When no d_ino value matches the target inode
- number, iterate through all entries again, using lstat instead.
- Reported by Kenshi Muto in http://bugs.debian.org/355810, and by
- Zouhir Hafidi in https://bugzilla.redhat.com/bugzilla/190656.
-
- * getcwd.c (__getcwd): Clarify a comment.
- Use memcpy in place of a call to strcpy.
-
-2006-03-16 Paul Eggert
-
- * regex.h (regoff_t) [defined _REGEX_LARGE_OFFSETS]:
- Typedef to long int, not to off_, as POSIX will likely change
- in that direction.
-
-2006-03-12 Jim Meyering
-
- * fts-cycle.c (leave_dir): If cycle-check's saved dev-ino pair matches
- that of the current directory (which we're about to chdir ".." out of),
- then save the dev-ino of the parent, instead.
-
- * same-inode.h (SAME_INODE): New file/macro.
- * chdir-safer.c (SAME_INODE): Remove definition.
- Include "same-inode.h", instead.
- * same.c: Likewise.
- * cycle-check.h: Include "same-inode.h".
- (CYCLE_CHECK_REFLECT_CHDIR_UP): Define.
- * cycle-check.c (SAME_INODE): Remove definition.
- * root-dev-ino.h: Include "same-inode.h".
-
-2006-03-12 Paul Eggert
-
- * Makefile.am (libcoreutils_a_SOURCES): Remove time_r.c, time_r.h,
- as this is now done in m4.
- * time_r.h (asctime_r, ctime_r): Remove. These functions can
- overrun buffers and shouldn't be used (much as gets shouldn't be
- used).
- * time_r.c (asctime_r, ctime_r): Likewise.
-
-2006-02-17 Simon Josefsson
-
- * base64.h, base64.c: New files.
- * Makefile.am (libcoreutils_a_SOURCES): Add base64.h and base64.c.
-
-2006-02-20 Paul Eggert
-
- * getcwd.c (AT_FDCWD): Work around a bug in Solaris 9 and 10, where
- AT_FDCWD exceeds INT_MAX.
- * openat.h (AT_FDCWD): Likewise.
-
-2006-02-17 Jim Meyering
-
- * openat.c: Include lstat.h, so that uses of lstat are converted
- to uses of rpl_lstat, e.g., on Solaris 9. Otherwise, programs like
- du (which now uses the openat-enabled fts and hence fstatat) would
- mistakenly fail to dereference a symlink-to-directory specified
- with a trailing slash.
-
-2006-02-14 Paul Eggert
-
- * vasnprintf.c (VASNPRINTF): Rewrite the computation so that we
- need not use xsum.
-
-2006-02-14 Bruno Haible
-
- Sync from gnulib.
-
- * vasnprintf.c (VASNPRINTF): In the computation of the size of the
- temporary buffer for sprintf, take into account the precision also
- for 'd', 'i', 'u', 'o', 'x', 'X'.
-
-2006-02-14 Simon Josefsson
-
- Sync from gnulib.
-
- * getaddrinfo.h: Define EAI_ADDRFAMILY and EAI_SYSTEM if not set,
- for mingw32.
-
- * gai_strerror.c, getaddrinfo.h: Protect netdb.h #include (for
- mingw32).
-
-2006-02-07 Paul Eggert
-
- * closeout.c (close_stdout): Don't assume 'bool' converts nonzero
- ints to 0 or 1, as this isn't true for the stdbool.h substitute.
-
-2006-02-02 Jim Meyering
-
- Eliminate the unwelcome (albeit unlikely) possibility of xmalloc
- failure on deficient systems, and simplify gnulib lgpl dependencies.
- * lstat.c (rpl_lstat): Rewrite to use stat() in place of the
- xmalloc/lstat combination. Based on a patch from Bruno Haible.
-
-2006-01-27 Paul Eggert
-
- * fnmatch.c (L_): Renamed from L, to work around a bug in
- Mac OS X 10.3.9 with GCC 3 reported by Claudio Fontana in
- .
- All uses changed.
-
-2006-01-26 Paul Eggert
-
- * stdbool_.h: Sync from gnulib.
- Use signed char with all non-GCC compilers.
-
-2006-01-25 Paul Eggert
-
- * stdbool_.h: Merge from gnulib; we still don't quite match exactly,
- but we're getting closer.
- (true, false) [defined __BEOS__]: undef, as before.
- (_Bool) [!@HAVE__BOOL@ && defined __GNUC__]: Use an enum
- rather than a #define.
-
-2006-01-25 Jim Meyering
-
- * fileblocks.c: Remove useless parentheses in cpp directive.
- * readutmp.h: Likewise.
-
-2006-01-23 Paul Eggert
-
- Work around porting bugs reported by Dieter in
- .
- * getopt.c (_NOPROTO): Remove; no longer needed.
- Include and in all environments; it's safe now.
- Include "getopt.h" first, to check interface.
- (getenv): Declare only if defined HAVE_DECL_GETENV &&
- !HAVE_DECL_GETENV.
- * strndup.c [!_LIBC]: Include "strndup.h" to get prototype.
- (__strndup): Revert to K&R-style function dfns, the glibc style.
- * strnlen.c: Don't claim it's taken from glibc; it's not.
- (strnlen, __strnlen): Remove #defines and #undefs; not needed.
- Include strnlen.h first, to get prototype properly.
- (strnlen): Renamed from __strnlen.
- Remove weak alias.
-
-2006-01-23 Ulrich Drepper
-
- These changes imported from libc.
- * getopt.c: Use __fxprintf instead of inline stream orientation
- test and two separate function calls.
- * strndup.c (__strndup): Add libc_hidden_def.
-
-2006-01-23 Jim Meyering
-
- * xalloc-die.c: Remove unused definition of N_.
-
-2006-01-22 Paul Eggert
-
- * quotearg.c (quotearg_buffer_restyled): Add "default: break;"
- to pacify gcc -Wswitch-default.
-
-2006-01-17 Jim Meyering
-
- Rewrite fts.c not to change the current working directory,
- by using openat, fstatat, fdopendir, etc..
-
- * fts.c [! _LIBC]: Include "openat.h" and "unistd--.h".
- (HAVE_OPENAT_SUPPORT): Define.
- [_LIBC] (fchdir): Don't undef or define; no longer used.
- (FCHDIR): Define in terms of cwd_advance_fd rather than fchdir.
- Now, this `function' always succeeds, and consumes its file descriptor
- parameter -- so callers must not close such FDs. Update callers.
- (diropen_fd, opendirat, cwd_advance_fd): New functions.
- (diropen): Add parameter, SP. Adjust all callers.
- Implement using diropen_fd, rather than open.
- (fts_open): Initialize new member, fts_cwd_fd.
- Remove fts_rft-setting code.
- (fts_close): Close fts_cwd_fd, if necessary.
- (__opendir2): Define in terms of opendir or opendirat,
- depending on whether the FST_NOCHDIR flag is set.
- (fts_build): Since fts_safe_changedir consumes its FD, and since
- this code must do `closedir(dirp)', dup the dirfd(dirp) argument,
- and close the dup'd file descriptor upon failure.
- (fts_stat): Use fstatat(...AT_SYMLINK_NOFOLLOW) in place of lstat.
- (fts_safe_changedir): Tweak semantics to reflect that this function
- now calls cwd_advance_fd and hence consumes its FD argument.
- * fts_.h [struct FTS] (fts_cwd_fd): New member.
- [struct FTS] (fts_rft): Remove now-unused member.
- [struct FTS] (fts_cycle.state): Improve comment.
-
- * openat.c (openat_needs_fchdir): New function.
- * openat.h (openat_needs_fchdir): Declare it.
-
-2006-01-12 Jim Meyering
-
- * stdint_.h: Remove useless parentheses in cpp directives, so that
- this file passes coreutils' `make syntax-check' tests.
-
-2006-01-11 Paul Eggert
-
- * .cvsignore: Add stdint.h.
- * Makefile.am (BUILT_SOURCES, EXTRA_DIST, stdint.h, MOSTLYCLEANFILES):
- Add gnulib snippet.
- * md5.c: Fix commentary typos.
- (alignof, UNALIGNED_P): No need for a GCC-specific version.
- * md5.h (__attribute__): Remove; unused.
- * sha1.c, sha256.c, sha256.c: Fix commentary to match md5 better.
- * sha1.h (struct sha1_ctx): Use a word buffer, not a byte buffer,
- so that we don't need to worry about alignment. All uses changed.
- This merges the 2005-10-28 md5 change into sha1.
- * sha256.h (struct sha256_ctx): Likewise.
- * sha512.h (struct sha512_ctx): Likewise.
- * sha256.h: Include stdint.h rather than md5.h.
- * sha512.h: Include stdint.h uniformly, since we now have the
- stdint module.
- * stdint_.h: New file, from gnulib.
-
-2006-01-11 Jim Meyering
-
- * fts.c (fts_stat): When following a symlink-to-directory,
- don't necessarily interpret stat-fails+lstat-succeeds as indicating
- a dangling symlink. That can also happen at least for ELOOP.
- The fix: return FTS_SLNONE only when the stat errno is ENOENT.
- FYI, this bug predates the inclusion of fts.c in coreutils.
-
-2006-01-11 Jim Meyering
-
- * fts.c [!_LIBC]: Include "fcntl--.h", to map open to open_safer.
- (fts_open): Put new (2006-01-04) maxarglen declaration and uses
- in their own block, so pre-c99 compilers don't object.
-
- * openat.c (fchownat): New function.
- * openat.h (fchmodat, fchownat): Declare.
- (chmodat, lchmodat): Define convenience functions.
- (chownat, lchownat): Likewise.
- * fchmodat.c (fchmodat): New file and function.
-
- * md5.c (OP): Remove useless space-before-TAB.
-
-2006-01-10 Paul Eggert
-
- * localcharset.c, md5.c, md5.h, savedir.c, savedir.h, sha1.c, sha1.h
- * strcasecmp.c, strncasecmp.c, verify.h, regex_internal.h:
- Sync from gnulib.
- * sha256.c, sha256.h, sha512.c, sha512.h:
- Replace all instances of md5_uint32_t with uint32_t, to accommodate
- gnulib change.
-
-2006-01-10 Jim Meyering
-
- Avoid the double-free (first in fts_read, second in fts_close) that
- would occur when an `active' directory is made inaccessible (e.g.,
- via chmod a-x) during a traversal.
- * fts.c (fts_read): After a failed fchdir, update sp->fts_cur
- before returning. Reproduce this failure by
- mkdir -p a/b; cd a; chmod a-x . b
- Reported by Stavros Passas.
-
-2006-01-06 Jim Meyering
-
- * version-etc.c (COPYRIGHT_YEAR): Update to 2006.
-
-2006-01-04 Paul Eggert
-
- * strftime.c (tzname): Don't declare if it is already #defined.
- Problem reported for Mingw by Mark Junker.
-
-2006-01-04 Jim Meyering
-
- Merge from glibc.
- * fts.c (fts_open): Avoid function call in MAX macro use.
-
-2006-01-03 Paul Eggert
-
- * xtime.h (xtime_make, xtime_nonnegative_nsec, xtime_nsec): Use
- long int, not int, for nanosecond counts, so that people who are
- used to POSIX struct timespec won't be surprised. Reported by Jim
- Meyering.
-
-2006-01-01 Paul Eggert
-
- * chmod-safer.c, chmod-safer.h: Remove.
- * lchmod.h: New file.
- * mkdir-p.c: Include lchmod.h, lchown.h.
- (make_dir_parents): Use lchown rather than chown, and
- lchmod rather than chmod.
-
-2005-12-26 Paul Eggert
-
- * chdir-long.c (cdb_free): Don't bother trying to open directory
- for write access: POSIX says that must fail.
- * chdir-safer.c (chdir_no_follow): Likewise.
- * fts.c (diropen): Likewise.
- * save-cwd.c (save_cwd): Likewise.
- * chdir-long.c (cdb_free): Open with O_NOCTTY | O_NONBLOCK as
- well, for minor improvements on hosts that lack O_DIRECTORY.
- * chmod-safer.c (defined_S_IFMT): New macro.
- Include stat-macros.h.
- Include stdlib.h, for abort().
- Don't include stdio.h or assert.h; no longer needed.
- (same_file_type): Don't assume S_IFMT is defined, as POSIX
- does not require this. Don't assume S_IFCHR and S_IFBLK have
- their usual sort of bit pattern.
- (fchmod_new): Open with O_NOCTTY for as well, for minor
- improvement on hosts where that matters. Don't bother to assert,
- since the caller (in this source file) checks the same thing.
- Discard any errno from a close failure, for consistency with other
- code.
- * chown.c (rpl_chown) [CHOWN_MODIFIES_SYMLINK]:
- Don't try O_WRONLY unless O_RDONLY failed wth EACCES.
- Fall back on chown if open failed with EACCES.
-
-2005-12-26 Jim Meyering
-
- * chdir-safer.c (chdir_no_follow): Move declaration of local,
- sb2, `down' into the scope where it is used.
- Note that on some systems this function also fails when DIR
- is a writable-yet-unreadable directory.
-
-2005-12-25 Paul Eggert
-
- * chdir-safer.h (FCHMOD_SAFER_H): Remove: it was misnamed, and
- wasn't needed anyay.
- * chdir-safer.c (chdir_no_follow): Don't include stdio.h, assert.h,
- fcntl--.h; not needed.
- (O_DIRECTORY): Define if not already defined.
- (chdir_no_follow): Revamp describing comment to match code more
- closely. Redo use of internal vars to avoid lint complaints.
- Work even if directory is writeable but not readable.
- Open with O_DIRECTORY | O_NOCTTY, for benefit of hosts that
- don't have O_NOFOLLOW. Use O_NONBLOCK (POSIX spelling) rather
- than O_NDELAY. Don't bother invoking fstat if open does not
- dereference symlink, since the result isn't used then.
- Don't assume file descriptor is positive; it might be zero
- now that we no longer include fcntl--.h (we don't need fcntl--.h
- since we immediately close the descriptor).
-
-2005-12-25 Jim Meyering
-
- * chdir-safer.c (chdir_no_follow): Remove unnecessary
- test of S_ISDIR (sb_init.st_mode).
-
-2005-12-23 Jim Meyering
-
- * mkdir-p.c (make_dir_parents): Use chdir_no_follow only
- if we've just created the directory.
-
- * chdir-safer.c (chdir_no_follow): Rewrite to use fchdir even
- when O_NOFOLLOW is not defined. Suggested by James Youngman.
-
- * chmod-safer.c (O_NOFOLLOW): Define, if necessary.
- * chdir-safer.c (O_NOFOLLOW): Likewise.
- Reported by Eric Blake.
-
-2005-12-22 Jim Meyering
-
- * openat.c: Include "fcntl--.h" and "unistd--.h", to map open
- and dup to open_safer and dup_safer, respectively.
- (openat_permissive): Fix typo in comment.
-
-2005-12-21 Jim Meyering
-
- Like chdir(2), but safer, if possible.
- * chdir-safer.c, chdir-safer.h: New files.
-
-2005-12-20 Jim Meyering
-
- * mkdir-p.c (RW_USR): Remove definition.
- (make_dir_parents): Use S_IRWXU, now that read access is also required.
-
- Avoid a race condition, on systems where open honors O_NOFOLLOW.
- * mkdir-p.c (make_dir_parents): Include chdir-safer.h.
- Use chdir_no_follow in place of chdir.
-
- * mkdir-p.c (make_dir_parents): Remove unnecessary casts of alloca,
- since now it's guaranteed to be (void *).
-
- * chmod-safer.c (fchmod_new): Don't try to close fd if it's < 0.
-
-2005-12-19 Jim Meyering
-
- * chmod-safer.c, chmod-safer.h: New files.
-
-2005-12-05 Andreas Gruenbacher
-
- Add POSIX ACL support
- * acl.h (copy_acl, set_acl): Add declarations.
- * acl.c (acl_entries): Add fallback implementation for POSIX ACL
- systems other than Linux.
- (chmod_or_fchmod): New function: use fchmod when possible,
- and chmod otherwise.
- (file_has_acl): Add a POSIX ACL implementation, with a
- Linux-specific subcase.
- (copy_acl): Add: copy an acl and S_ISUID, S_ISGID, and
- S_ISVTX from one file to another. Fall back to fchmod/chmod when
- acls are unsupported.
- (set_acl): Add: set a file's acl and S_ISUID, S_ISGID, and
- S_ISVTX to a defined value. Fall back to fchmod/chmod when acls
- are unsupported.
-
-2005-12-16 Paul Eggert
-
- * openat.c: Don't include , , ,
- "gettext.h"; either no longer needed or are guaranteed by openat.h.
- (_): Remove; no longer needed.
- (openat): Renamed from rpl_openat; no need for rpl_openat
- since openat.h renames openat for us.
- Replace most of the body with a call to openat_permissive,
- to avoid duplicate code.
- Port to (probably hypothetical) environments were mode_t is
- wider than int.
- (openat_permissive): Require mode arg, so that we can check
- types better. Put it just after flags. Change cwd failure
- indicator from pointer-to-bool to pointer-to-errno-value.
- All callers changed.
- Invoke openat_save_fail and/or openat_restore_fail if
- cwd_errno is null, so that openat can call us.
- (openat_permissive, fdopendir, fstatat, unlinkat):
- Simplify errno handling to avoid some duplicate code,
- as it's OK to set errno on success.
- * openat.h: Revamp code so that function macros depend on
- __OPENAT_PREFIX only, not also on AT_FDCWD.
- (openat_ro): Remove. Caller changed to use openat_permissive.
- (openat_permissive): Now a macro, if not a function.
- (openat_restore_fail, openat_save_fail): Now always functions,
- since mkdirat needs them even if __OPENAT_PREFIX is defined.
-
-2005-12-14 Jim Meyering
-
- * Makefile.am (libcoreutils_a_SOURCES): Remove fprintftime.c
- and fprintftime.h. Now they're pulled in via the .m4 file.
-
-2005-12-13 Paul Eggert
-
- * Makefile.am (stdbool.h): Resurrect the 'sed' that goes along
- with '#if !@HAVE_BOOL@".
- * stdbool_.h (_Bool): Resurrect the "#if !@HAVE__BOOL@" check, to
- work around compilers that have a (possibly-broken) _Bool but lack
- a working .
-
-2005-12-07 Paul Eggert
-
- * stat-time.h (STATE_TIMESPEC, STAT_TIMESPEC_NS): Add check for
- TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
- porting problem reported by Georg Schwarz in
-