coreutils-announce
[Top][All Lists]
Advanced

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

[Coreutils-announce] fileutils-4.1.2 released


From: Jim Meyering
Subject: [Coreutils-announce] fileutils-4.1.2 released
Date: Sat, 24 Nov 2001 10:34:04 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu)

This should fix the gripes about losing uses of cp (4.1.1 fails when
two or more source files are the same) -- and of course, the fix has
minimal impact on performance.  Now cp no longer fails in that case,
but it does still print a warning.  I need to document the fact that
`cp --backup=numbered a a d/' *does* still copy `a' twice, but I'm
waiting for the dust to settle.

If you use this on SunOS4, be aware that on file systems of type `tmp',
`rm -r' may not always delete all files in a directory containing 254
or more, due to the readdir bug.  readdir.m4 will be changed to check
more partitions -- currently it checks only the one in which fileutils
is built.

Jim
---------------

  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.2.tar.gz   (2.1 MB)
  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.2.tar.bz2  (1.4 MB)
  ftp://freefriends.org/gnu/fetish/fileutils-4.1.2.tar.gz   (2.1 MB)
  ftp://freefriends.org/gnu/fetish/fileutils-4.1.2.tar.bz2  (1.4 MB)

And here are xdelta-style diffs

  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.1-4.1.2.xdelta   (216 kB)
  ftp://freefriends.org/gnu/fetish/fileutils-4.1.1-4.1.2.xdelta   (216 kB)

Here are the MD5 and SHA1 signatures for the compressed tar files:

bc9c9814004dff3cc032eee988c83488  fileutils-4.1.2.tar.gz
94c097b48c6d9c661e56f0e96c366d77  fileutils-4.1.2.tar.bz2
3feb73514b3468525c7a54a5fa1c0ce8d5d72dc0  fileutils-4.1.2.tar.gz
14b99e74e6ddb77ec30b79927c34ac6244a177d2  fileutils-4.1.2.tar.bz2

NEWS:
* cp no longer fails when two or more source files are the same;
    now it just gives a warning and doesn't copy the file the second time.
    E.g., cp a a d/ produces this:
    cp: warning: source file `a' specified more than once
* chmod would set the wrong bit when given symbolic mode strings like
    these: g=o, o=g, o=u.  E.g., `chmod a=,o=w,ug=o f' would give a mode
    of --w-r---w- rather than --w--w--w-.

ChangeLog entries:

**********************************************************************
ChangeLog       2001/11/24 08:01:50     1.1423
**********************************************************************
2001-11-24  Jim Meyering  <address@hidden>

        * Version 4.1.2.

        * src/sync.c (usage): Make --help and --version strings
        start in column 7.

        * Makefile.cfg (move_if_change): Remove definition.
        ($(srcdir)/m4/jm-glibc-io.m4): Use mv, not move-if-change.

2001-11-23  Jim Meyering  <address@hidden>

        * cp.c, df.c, du.c, install.c, ln.c, ls.c, mkdir.c (usage):
        * mkfifo.c, mknod.c, mv.c, shred.c, touch.c (usage):
        Note that ``Mandatory arguments to long options are mandatory
        for short options too.''

        * src/shred.c (usage): Use `output', not `print' in description of
        the --version option, so this message is consistent with all the rest.

        * chgrp.c, chmod.c, chown.c, cp.c, dd.c, df.c, dircolors.c (usage):
        * du.c, install.c, ln.c, ls.c, rm.c, rmdir.c, shred.c, touch.c (usage):
        Split --help output into smaller pieces.
        Use fputs, not printf.

        * src/cp-hash.c: Use opaque type, Hash_table, not `struct hash_table'.
        * src/du.c: Likewise.
        * src/remove.c: Likewise.

2001-11-22  Jim Meyering  <address@hidden>

        Don't fail for commands like this: cp a a d/
        This change in behavior was introduced in 4.1.1, as part of the
        2001-09-28 change.  cp and mv still fail for commands like this:
        rm -rf a b c; mkdir a b c; touch a/f b/f; mv a/f b/f c

        * src/copy.c (triple_hash_no_name): New function.
        (src_info_init): New function.
        (copy_internal): Warn and return early for the second and subsequent
        occurrences of the same source file named on the command line.
        * src/copy.h (struct cp_options) [src_info]: New member.
        * src/install.c (cp_option_init): Initialize new member.
        * src/mv.c (cp_option_init): Likewise.
        * src/cp.c (cp_option_init): Likewise.
        (do_copy): Call src_info_init.

        * tests/mv/dup-source: New test for the above.
        * tests/mv/Makefile.am (TESTS): Add dup-source.

        * src/copy.c (seen_file): Change type of `stats' parameter to pointer.
        (copy_internal): Update caller.

        * src/copy.c (struct F_triple): Rename from dest_info.
        (seen_file): Rename from seen_dest.  Rename parameters accordingly.
        (record_file): Rename from record_dest.  Rename parameters accordingly.
        (triple_hash): Rename from dest_info_hash.
        (triple_compare): Rename from dest_info_compare.
        (triple_free): Rename from dest_info_free.

        * src/mknod.c (main): Add a literal format string to suppress
        a warning from gcc's -Wformat-security.

        copy.c shouldn't maintain static state.

        * src/copy.c (dest_info): Remove declaration of file-scoped global.
        (dest_info_init): Require a parameter.
        Update all callers.
        (seen_dest): Require a hash table parameter.  Update callers.
        (record_dest): Likewise.
        * src/copy.h: Include hash.h.
        (struct cp_options) [dest_info]: New member.
        * src/install.c (cp_option_init): Initialize new member.
        * src/mv.c (cp_option_init): Likewise.
        * src/cp.c (cp_option_init): Likewise.
        (do_copy): Remove const attribute from declaration of parameter, x.

2001-11-17  Jim Meyering  <address@hidden>

        * tests/chmod/equals: New test for the just-fixed bug in
        lib/modechange.c.
        * tests/chmod/Makefile.am (TESTS): Add equals.

        * configure.ac: Replace use of the one-arg form of AC_INIT
        with a use of the 3-arg form and a use of AC_CONFIG_SRCDIR.

2001-11-12  Jim Meyering  <address@hidden>

        * tests/rm/r-3: Clean up.

2001-11-09  Jim Meyering  <address@hidden>

        * configure.ac: Use AC_CONFIG_FILES(...) and call AC_OUTPUT with no
        arguments.

2001-11-06  Jim Meyering  <address@hidden>

        * src/dircolors.hin: Remove duplicate entry for .png.
        Reported by Frédéric L. W. Meunier.

        Reported by Dan Jacobson.

**********************************************************************
doc/ChangeLog   2001/11/10 08:46:14     1.24
**********************************************************************
2001-11-10  Jim Meyering  <address@hidden>

        * coreutils.texi (Date directives): Document %u.

2001-11-07  Paul Eggert  <address@hidden>

        * coreutils.texi (paste invocation): Give examples.
        Thanks to Dan Jacobson for suggesting the examples.

2001-11-05  Jim Meyering  <address@hidden>

        * coreutils.texi (sort invocation): Recommend setting LC_ALL=C,
        not LC_COLLATE=C.  Explain how the latter can cause problems.
        Based on a message from Paul Eggert.
        (ls invocation): Recommend setting LC_ALL=C, not LC_COLLATE=C.


**********************************************************************
lib/ChangeLog   2001/11/23 08:12:06     1.309
**********************************************************************
2001-11-23  Jim Meyering  <address@hidden>

        * hash.h (struct hash_table): Don't define here.  Merely declare it.
        * hash.c (struct hash_table): Define it here instead.

2001-11-22  Jim Meyering  <address@hidden>

        * hash.h: Bracket contents of file with #ifndef HASH_H_ ... #endif.

2001-11-18  Paul Eggert  <address@hidden>

        * tempname.c (TMP_MAX): Remove; no longer needed.
        (TEMPORARIES): New macro.
        (__gen_tempname): Use TEMPORARIES rather than TMP_MAX.  This
        removes an artificial limitation (e.g. HP-UX 10.20, where
        TMP_MAX is 17576).

2001-11-18  Jim Meyering  <address@hidden>

        * tempname.c [!HAVE_DECL_GETENV]: Declare getenv to avoid warning
        on SunOS4.

        * Makefile.am (Makefile): Depend on $(BUILT_SOURCES), so those
        files will be created before anything else.

2001-11-17  Jim Meyering  <address@hidden>

        * modechange.c (mode_adjust): Fix error introduced on 1999-04-26
        that made e.g., `chmod a=,o=w,g=o F' cause F to be group readable
        rather than group writable.  Patch by Juan F. Codagnone.

        * readtokens.c: Remove explicit declarations of xmalloc and xrealloc,
        Instead, include "xalloc.h".

        * mountlist.c: Include unlocked-io.h after all system headers.
        Remove explicit declarations of xmalloc, xrealloc,
        and xstrdup.  Instead, include "xalloc.h".

        * argmatch.c, closeout.c, error.c, exclude.c: Include unlocked-io.h.
        * fatal.c, getdate.y, getpass.c, getstr.c, getusershell.c: Likewise.
        * mountlist.c, posixtm.c, readtokens.c, readutmp.c: Likewise.

        * regex.c, sha.c, version-etc.c, yesno.c: Likewise.
        Reported by Padraig Brady.

        * mkstemp.c: #undef mkstemp.
        Include config.h.
        (rpl_mkstemp): Rename from mkstemp.
        Protoize.

2001-11-16  Jim Meyering  <address@hidden>

        * physmem.c [HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
        (physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to
        determine the amount of total physical memory, use pstat_getstatic.
        HPUX-11 doesn't define _SC_PHYS_PAGES.
        (physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]:
        If sysconf couldn't be used to determine the amount of available
        physical memory, use both pstat_getstatic and pstat_getdynamic.
        Based on a patch from Bob Proulx.

2001-11-05  Jim Meyering  <address@hidden>

        * xstat.in (slash_aware_lstat): Correct a misleading comment.


**********************************************************************
m4/ChangeLog    2001/11/20 10:38:47     1.374
**********************************************************************
2001-11-20  Jim Meyering  <address@hidden>

        * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
        SunOS4.1.4 and solaris2.5.1 lose, too.

2001-11-19  Jim Meyering  <address@hidden>

        * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
        directory.  Use "conftestXXXXXX" as the template.
        Suggestion from Paul Eggert.

        * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
        so the test doesn't mistakenly hit the max-open-files limit.

2001-11-18  Jim Meyering  <address@hidden>

        * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.

2001-11-17  Jim Meyering  <address@hidden>

        * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
        Prompted by a report from Bob Proulx.

        * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
        Instead, require UTILS_FUNC_MKSTEMP.

2001-11-11  Jim Meyering  <address@hidden>

        * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
        Now, that's done as part of AC_FUNC_STRTOD.

2001-10-22  Paul Eggert  <address@hidden>

        * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
        WINSIZE_IN_PTEM if <termios.h> defines struct winsize.

2001-11-10  Jim Meyering  <address@hidden>

        * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
        (jm_PREREQ): Use it.

2001-11-09  Jim Meyering  <address@hidden>

        * jm-macros.m4: Require autoconf-2.52f.
        (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
        Use these AC_-prefixed names, not the AM_-prefixed ones.

        * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.



reply via email to

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