[Top][All Lists]

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

[Coreutils-announce] fileutils-4.1.9 released

From: Jim Meyering
Subject: [Coreutils-announce] fileutils-4.1.9 released
Date: Sun, 23 Jun 2002 19:54:51 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (i686-pc-linux-gnu)


This is a pretty big delta.
You might even call it dangerous, since I've rewritten rm(!).
The goal of the rewrite was to make it so rm can now remove
hierarchies of effectively arbitrary depth.  Before, rm would
dump core when trying to remove a hierarchy of depth around
22000 or greater.  Of course, it retains the relatively new
code to prevent a local attack on a privileged process removing
a hierarchy owned by the attacker.

If any of you have time, please try rm with various combinations of its
options, to see if I've missed anything glaringly obvious -- or anything
subtle :-)  In particular, -i, since I haven't tested that as much as
the others.

Related to the rm stack overflow problem, many other programs
suffer a similar fate when operating on very deep hierarchies.
But Paul Eggert came up with a general mechanism for detecting
stack overflow (see lib/c-stack.[ch]), and the next test release
will incorporate that in every program that needs it.

There are three new programs, link and unlink from Michael Stone,
and stat from Michael Meskes.  stat is almost certain to have a few
portability problems.  Handling the statfs vs. statvfs mess without
making the code too ugly was a challenge.

--------   (2.4 MB)  (1.6 MB)   (2.4 MB)  (1.6 MB)

And here are xdelta-style diffs   (296 KB)   (296 KB)

Here are the MD5 and SHA1 signatures:

6e1b4e4330dca5608c0226addd1070d8  fileutils-4.1.9.tar.gz
f358f02bade595fe80748bc8fda99678  fileutils-4.1.9.tar.bz2
9418c46b377ffdae69629855c40ed935  fileutils-4.1.8-4.1.9.xdelta
8abb18e9041c52075c7552dafe069af906c6d2f7  fileutils-4.1.9.tar.gz
52e5b106617d1c3bf52b7f3a52edfa88e5afd86c  fileutils-4.1.9.tar.bz2
c2d421c841014478fcabb4df69130dd7b5029ad2  fileutils-4.1.8-4.1.9.xdelta

* rm can now remove very deep hierarchies, in spite of any limit on stack size
* new programs: link, unlink, and stat
* New ls option: --author (for the Hurd).
* `touch -c no-such-file' no longer fails, per POSIX

ChangeLog entries:

ChangeLog       22 Jun 2002 10:09:33 -0000      1.1534
2002-06-22  Jim Meyering  <address@hidden>

        * Version 4.1.9.

        * Invoke AC_GNU_SOURCE very early.

        * tests/rm/rm1: Accommodate the  slightly different diagnostic we
        get on some systems, due to `unlink (dir)' failing with EACCES
        rather than EPERM.  E.g. for ReiserFS on Linux-2.4.18.

2002-06-21  Jim Meyering  <address@hidden>

        * Makefile.maint (wget-update): Checkout into config/.
        Warn when skipping a file.

        * src/stat.c: Include sys/statvfs.h.
        [!HAVE_SYS_STATVFS_H && !HAVE_SYS_VFS_H]: Include sys/param.h
        and sys/mount.h, to get decl of struct statfs on NetBSD 1.5.2.
        Remove `static' attribute from decl of program_name.
        (human_fstype): Use f_basetype or f_fstypename if available.
        (print_human_time): Use nstrftime and an ISO format string, in
        place of strftime with `%c'.  The latter is too locale-dependent.
        (print_statfs): Deal with lots of portability issues: some fields
        are available only with statfs, others only with statvfs, and
        some are available in both, but with different types.
        (do_statfs) [DEFAULT_FORMAT_TERSE]: Factor out.
        [DEFAULT_FORMAT_VERBOSE]: Likewise.

        * src/copy.c: Change all `preserving ...' diagnostics to
        `failed to preserve ...' to make the failure clearer.
        * src/cp.c: Likewise.

2002-04-03  Alfred M. Szmidt  <address@hidden>

        * src/copy.c Include hurd.h.
        (copy_internal): Preserve the stat.st_author field.

2002-06-21  Jim Meyering  <address@hidden>

        * src/ls.c (LOGIN_NAME_MAX): Define if not already defined.
        (ID_LENGTH_MAX): Define.
        (ST_DM_MODE): New macro.  Code moved from...
        (print_long_format): Itemize and comment the individual parts
        of init_bigbuf.  Use the above *_MAX macros.

2002-06-20  Jim Meyering  <address@hidden>

        * src/system.h: Change `defined(X)' syntax to `defined X'
        in cpp directives.

2002-06-17  Jim Meyering  <address@hidden>

        * tests/setgid-check: Interpret a permissions string of
        drwxr-xr-x (DOS/Windows) as meaning the cwd is not setgid.
        Reported by Rich Dawe.

2002-05-19  Paul Eggert  <address@hidden>

        Add support for new ls option --author, for GNU/Hurd.
        Derived from a suggestion by Alfred M. Szmidt.

        * doc/coreutils.texi (ls invocation), NEWS: Document this.
        * m4/jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
        * src/ls.c (st_author) [! HAVE_STRUCT_STAT_ST_AUTHOR]: New macro.
        (print_author): New var.
        (AUTHOR_OPTION): New enum val.
        (long_options, decode_switches, print_long_format, usage):
        Support --author.
        (format_user): New function.
        (print_long_format): Use it.  Make print buffer a bit bigger.

2002-06-15  Jim Meyering  <address@hidden>

        * tests/sample-test (trap): Make sure the temporary hierarchy is
        writable before removing it.

        * tests/mv/perm-1: New file, to demonstrate fix of 2002-06-12.
        * tests/mv/ (TESTS): Add perm-1.

        * src/system.h: For GNU libc 2.2 and newer, ensure that <sys/types.h>
        has been included before this file.

2002-06-13  Richard Dawe  <address@hidden>

        Accommodate DOS file name limitations.
        * tests/cp/same-file: Change temp. file name: s/\.err/_err/, for DOS.
        * tests/mv/force: Similar.
        * tests/mv/into-self: Similar.
        * tests/touch/no-rights: Similar.
        * tests/mv/mv-special-1: Remove leading `.' from temp. names.

2002-06-15  Jim Meyering  <address@hidden>

        * src/sys2.h (S_ISNAM): Add to list of S_IS* macros.
        Rearrange #if directives for each S_IS macro.
        From diffutils-2.8.2.

2002-06-12  Jim Meyering  <address@hidden>

        * src/mv.c (do_move): Give one diagnostic, not two, when unable to
        unlink a destination file.  This bug was introduced in fileutils-3.16l.

2002-06-07  Jim Meyering  <address@hidden>

        * tests/mv/part-fail: Also accept the permission-denied diagnostic
        issued by some losing systems.  Reported by Volker Borchert.

        * src/remove.c (remove_entry): Use DT_IS_DIR only if
        HAVE_STRUCT_DIRENT_D_TYPE is defined.

2002-06-02  Jim Meyering  <address@hidden>

        `rm' no longer uses explicit recursion, and as such is now able
        to remove hierarchies of effectively unlimited depth.  Prior to
        this change, on typical systems, rm would fail (segfault) to remove
        hierarchies of depth greater than about 25,000.

        * src/remove.c: Merge in all changes from no-recursion branch.
        See below for details.
        * src/remove.h: Likewise.
        * src/mv.c (do_move): Adapt to new calling sequence for rm.
        * src/rm.c (main): Likewise.

2002-06-02  Jim Meyering  <address@hidden>

        * tests/rm/r-2: Adjust, now that we no longer report
        `removing all entries of directory ...'.
        * tests/rm/r-1: Likewise.

        * src/remove.c (enum Ternary): Define type.
        (prompt): Add a parameter.  Adjust callers.
        (remove_entry): Attempt rmdir here, only if a directory is
        `known' to be empty.  Significant rework.
        (remove_dir): Propagate failure `up' also when rmdir fails.

2002-06-01  Jim Meyering  <address@hidden>

        * tests/rm/ (TESTS): Add rm5.
        * tests/rm/rm5: New test.

2002-05-30  Jim Meyering  <address@hidden>

        In interactive mode, prompt only once about an empty directory.
        * src/remove.c (enum Prompt_action): Define.
        (prompt): Two new parameters.  Adjust all callers.

        * src/remove.c (remove_entry) [!ROOT_CAN_UNLINK_DIRS]:
        Don't call rmdir here.

2002-05-29  Jim Meyering  <address@hidden>

        * src/remove.c (AD_pop_and_chdir): Don't use errno (it's not valid)
        in diagnostic for changed dev/ino.
        (remove_entry): Tweak diagnostic.

2002-05-27  Jim Meyering  <address@hidden>

        * src/remove.c (ROOT_CAN_UNLINK_DIRS): Define.
        (AD_pop_and_chdir): Propagate status as we traverse back `up' the tree.
        (DO_UNLINK, DO_RMDIR): Define.
        (remove_entry) [ROOT_CAN_UNLINK_DIRS]: Add code so this works also on
        systems where root can use `unlink' to remove directories.

2002-05-24  Jim Meyering  <address@hidden>

        * tests/mv/mv-special-1: Adapt for changed format of --verbose output.

2002-05-22  Jim Meyering  <address@hidden>

        * src/remove.c: Include file-type.h.
        Include file type in prompt when asking whether to remove file.
        Based on a patch from Paul Eggert.

        * src/remove.c (prompt): Add comment.

        * src/remove.c (remove_dir): Fix another (known) leak.

        * tests/rm/rm3: Don't depend on order of traversal of dir entries.
        It is nondeterministic on some types of filesystems.

        * src/remove.c (hash_freer): New function.
        (AD_mark_helper): Use it.
        (AD_mark_as_unremovable): xstrdup the filename argument.
        (remove_dir): Free directory name.

        * src/remove.c (remove_entry): Fail also when trying to remove a
        directory without the --recursive option.
        Change a diagnostic, s/unlink/remove/, now that it can apply also
        to a directory.

        * src/remove.c (is_empty_dir): New function.
        (prompt): New function, factored out of...
        (remove_entry):  Call it.
        (remove_dir): Call prompt before rmdir.

        * src/remove.c (remove_entry): Add support for prompting (e.g., -i).

        * src/remove.h (UPDATE_STATUS): New macro.
        Include save-cwd.h.
        (struct File_spec): Remove declaration.
        Update prototypes.

        * src/remove.c [AD_ent] (status): New member.  This lets us propagate
        the status from a subdirectory to its parent via AD_pop_and_chdir.
        (AD_push_initial): Set it.
        (AD_push): Likewise.
        (remove_cwd_entries): Change return type to enum RM_status, and
        adjust all callers.
        (rm): Use UPDATE_STATUS rather than open-coding it.

        * src/remove.c (remove_entry): New function, factored out of...
        (remove_cwd_entries):, and...

        * src/remove.c (remove_cwd_entries): Add support for --verbose.
        (remove_dir): Likewise.
        (rm_1): Likewise.

2002-05-18  Jim Meyering  <address@hidden>

        * tests/rm/rm3: New file.
        * tests/rm/rm4: New file.
        * tests/rm/ (TESTS): Add rm3 and rm4.

2002-05-17  Jim Meyering  <address@hidden>

        * tests/rm/rm1: New file.
        * tests/rm/rm2: New file.
        * tests/rm/unread2: New file.
        * tests/rm/ (TESTS): Add rm1, rm2, and unread2.

        * src/remove.h (enum RM_status) [RM_NONEMPTY_DIR]: New member.

2002-05-13  Jim Meyering  <address@hidden>

        * src/remove.c (rm): Free cwd_state, if necessary.

2002-05-01  Jim Meyering  <address@hidden>

        * src/remove.c (rm_1): Remove now useless (always true)
        user_specified_name parameter.  Adjust sole caller.

        * src/remove.c (rm): New function.  This interface allows
        one to remove multiple arguments at a time.  This is important in
        that it allows us to hide the remove_init/remove_fini functions and
        the cwd_state parameter.
        (rm_1): Renamed from rm.
        (remove_init, remove_fini): Remove functions.  Each body is now
        part of `rm'.
        * src/remove.h (rm): Update prototype.

2002-06-01  Jim Meyering  <address@hidden>

        * src/ls.c: Remove use of D_TYPE_IN_DIRENT, now that that symbol
        has been renamed.

2002-05-30  Jim Meyering  <address@hidden>

        * src/copy.c (copy_reg): Use a temporary to avoid a warning
        from gcc -W about comparison between signed and unsigned.
        (copy_internal): Likewise, but use a cast.

2002-05-22  Jim Meyering  <address@hidden>

        * src/sys2.h (S_ISREG, S_ISDIR): Define if not already defined.

        Remove definitions.
        * src/sys2.c (S_ISLNK, S_ISFIFO, S_ISSOCK, S_ISCHR, S_ISBLK, S_ISDOOR):
        Define here instead.

2002-04-27  Jim Meyering  <address@hidden>

        * src/remove.c (cycle_check): New function containing code factored
        out of remove_dir.  The sole difference is that upon detecting a
        cycle, rm now dies unconditionally.  Before, in interactive mode,
        it would ask the user whether to continue.
        (remove_dir): Call cycle_check.

2002-04-25  Jim Meyering  <address@hidden>

        Avoid new warnings from gcc.
        * src/dd.c: Declare input_file and output_file to be `const'.
        (skip): Declare `file' parameter to be `const', too.

        Remove hash table, active_dir_map, used to detect directory cycles.
        Instead, detect them lazily with just O(1) memory.
        Suggestion from Andi Kleen.
        * src/remove.c (is_power_of_two): New function.
        (print_nth_dir, make_active_dir_ent): Remove functions.
        (hash_active_dir_ent, hash_compare_active_dir_ents): Likewise.
        (remove_dir): Check for cycles here, ...
        (rm): ... and don't check for cycles here.

        * src/remove.c (rm): Call fspec_get_full_mode here, rather than
        fspec_get_filetype_mode.  We want to get the dev/ino earlier, and
        at the same time as when we get the file type, to avoid the risk
        that an attacker would change e.g. a directory to a symlink before
        we record its dev/ino.

        * (AC_CONFIG_FILES): Remove intl/Makefile.
        (AM_GNU_GETTEXT): Add external arg.

        * intl/: Remove directory.
        * (SUBDIRS): Remove intl.
        (DISTCLEANFILES): Remove definition.

        * src/sys2.h: Remove ENABLE_NLS-related code.
        (_, N_) Remove definitions.
        Include "gettext.h" instead.

        * src/ (INCLUDES): Remove -I../intl.

2002-04-22  Jim Meyering  <address@hidden>

        * src/remove.c (rm): Call exit with EXIT_FAILURE, not `1'.

2002-04-19  Jim Meyering  <address@hidden>

        * tests/cp/*: Clean up.

        * tests/sample-test: Use a temporary directory named
        `basename $0`.tmp/$$.  Create with mkdir -p.

        * tests/cp/backup-1: Use better trap, etc.
        * tests/mkdir/p-2: Use better trap.
        * tests/mkdir/p-1: Likewise.
        * tests/mkdir/concurrent-1: Likewise.

        * tests/rm/deep-1: Set $tmp the new way.

        * tests/rm/ir-1: Use `rm', not $RM.  Use better trap.
        * tests/rm/i-1: Likewise.
        * tests/rm/f-1: Likewise.

        * tests/sample-test: Use automatically-derived name for temporary
        directory.  This is more 8.3-friendly.  Based on a suggestion from
        Richard Dawe.

        * tests/sample-test: New file.
        * tests/ (EXTRA_DIST): Add sample-test.

2002-04-17  Jim Meyering  <address@hidden>

        * src/touch.c (touch): Don't report errors for nonexistent files
        when --no-create is in effect.  Based on a patch from TAKAI Kousuke.
        * tests/touch/no-create-missing: New file/test for above.
        * tests/touch/ (TESTS): Add no-create-missing.

2002-04-16  Jim Meyering  <address@hidden>

        * src/stat.c: Add copyright comment.
        (human_fstype): Rename from print_human_fstype, and rework accordingly.
        (print_statfs): Use human_fstype to honor format width on %T.

2002-04-15  Jim Meyering  <address@hidden>

        Handle "lld" vs "ld" printf formats the same way Bash does.
        * src/stat.c: Include inttypes.h.
        (PRIdMAX, PRIuMAX): Define, if not already defined.
        (print_statfs): Use those macros, not the literal strings.
        (print_stat): Likewise.
        Suggestion from Paul Eggert.

        * src/stat.c (print_human_fstype): Add missing `break;'
        for `case S_MAGIC_MINIX:'.

2002-04-14  Jim Meyering  <address@hidden>

        * src/stat.c (statfs_secure): Define.
        (print_stat): Remove another #ifdef.
        (do_statfs): Likewise.
        (print_statfs): Prefer/use fputs over printf.
        (print_stat): Likewise.

        * src/ (bin_PROGRAMS): Add stat.
        (noinst_HEADERS): Add fs.h.

        * src/stat.c [HAVE_SYS_VFS_H]: Guard incluion of sys/vfs.h.
        Constify many parameters.
        (print_statfs): Fix typo: Use %u (to match %lu) for namelen, not %d.
        (verbose_usage): Remove function.  Move contents into usage.
        Remove lots of #if directives involving FLASK_LINUX
        [!FLASK_LINUX] (is_flask_enabled): Define.
        (stat_secure, lstat_secure): Define.
        (print_statfs): Remove lots of nested #if directives.
        Instead, rely on support fo %llu and %lld printf formats --
        but that is only temporary, since it's not porable enough.
        (main): Hoist is_flask_enabled test to be done here, rather
        than in each of do_stat and do_statfs for every argument.

2002-04-13  Jim Meyering  <address@hidden>

        * src/stat.c: Include system.h, error.h, and many other headers.
        [HAVE_SYS_SYSMACROS_H]: Guard inclusion of sys/sysmacros.h.
        (PROGRAM_NAME, AUTHORS): Define.
        (long_options): Declare/define.
        (print_human_access): Rewrite to use mode_string.
        (usage): Rewrite.
        (main): Use getopt_long.
        (print_human_type): Call fputs once rather than calling
        printf many times.
        (print_human_fstype): Revamp in a similar fashion.  Don't use strdup.
        Declare most functions to be `static'.

2002-04-12  Jim Meyering  <address@hidden>

        * src/ (LDADD): List ../lib/libfetish.a both before
        and after @address@hidden  Thanks to Paul Eggert for the fix and to
        Bruno Haible for diagnosing the problem.

        * src/link.c: Include long-options.h.
        [long_opts]: Remove.
        (usage): Tweak --help output; use *_OPTION_DESCRIPTION macros.
        (main): Don't use getopt directly.  Use parse_long_options instead.
        Tweak a diagnostic.
        Use EXIT_FAILURE rather than a literal `1'.
        * src/unlink.c: Likewise.
        (main): If POSIXLY_CORRECT is set, don't recognize --help or --version,
        so the program can operate on a file with one of those names.

2002-04-11  Jim Meyering  <address@hidden>

        New programs link and unlink.

        * src/ (bin_PROGRAMS): Add link and unlink.
        * src/link.c, src/unlink.c: New files, from Debian's fileutils_4.1-10.
        Written by Michael Stone.

        * man/link.x: New file.
        * man/unlink.x: New file.
        * man/ Add link and unlink.

2002-04-07  Jim Meyering  <address@hidden>

        * tests/install/basic-1: Tweak comments to reflect reality.
        * tests/cp/fail-perm: Add VERBOSE=yes support.
        * tests/mv/mv-special-1: Fix typo in VERBOSE=yes handling.
        Reported by Richard Dawe.

doc/ChangeLog   21 Jun 2002 15:21:49 -0000      1.48
2002-06-21  Jim Meyering  <address@hidden>

        * coreutils.texi (stat invocation): New section.  From Michael Meskes.

2002-05-19  Paul Eggert  <address@hidden>

        * coreutils.texi (ls invocation): Document new option: --author.

2002-06-03  Jim Meyering  <address@hidden>

        * coreutils.texi (rm invocation): Add the warning (also in the --help
        output) that the contents of a removed file are often recoverable.

2002-05-27  Jim Meyering  <address@hidden>

        * (check-texinfo): Adapt to reflect that now we use

2002-05-26  Jim Meyering  <address@hidden>

        * coreutils.texi: Use @acronym in place of most uses of @sc.
        * getdate.texi (Date input formats): Likewise.

2002-04-28  Jim Meyering  <address@hidden>

        * coreutils.texi: Change address@hidden' to address@hidden'.

2002-04-28  Paul Eggert  <address@hidden>

        * coreutils.texi (kill invocation): Document the above.
        Document POSIX signals better.

2002-04-15  Jim Meyering  <address@hidden>

        * coreutils.texi: Document kill.
        Written by Marcus Brinkmann.

2002-04-13  Jim Meyering  <address@hidden>

        * coreutils.texi: Document link and unlink.

2002-04-08  Jim Meyering  <address@hidden>

        * coreutils.texi: Use new directives, @copying and @insertcopying,
        thus now requiring texinfo-4.2 to create the .info file.

lib/ChangeLog   22 Jun 2002 18:03:44 -0000      1.361
2002-06-22  Jim Meyering  <address@hidden>

        * fnmatch.c (ISASCII, ISPRINT): Undefine, to avoid warning about
        redefinition due to Solaris5.6's definition in /usr/include/sys/euc.h.

2002-06-22  Paul Eggert  <address@hidden>

        * c-stack.h (segv_handler, c_stack_action) [! defined SA_SIGINFO]:
        Do not assume SA_SIGINFO behavior.
        Bug reported by Jim Meyering on NetBSD 1.5.2.

2002-06-22  Jim Meyering  <address@hidden>

        * c-stack.c, c-stack.h: New files, from diffutils-2.8.2.

        * exitfail.c, exitfail.h: Likewise.
        * (libfetish_a_SOURCES): Add exitfail.c and exitfail.h.

        * (libfetish_a_SOURCES): Add fnmatch_.h in place
        of fnmatch.h.
        (EXTRA_DIST): Add fnmatch_loop.c.
        (libfetish_a_SOURCES): Add c-stack.c and c-stack.h.

        * fnmatch_loop.c: New file, from diffutils-2.8.2.
        * fnmatch.c: Update from diffutils-2.8.2.
        * fnmatch_.h: New file.  From diffutils-2.8.2.
        * fnmatch.h: Remove file.

2002-06-18  Paul Eggert  <address@hidden>

        * file-type.h: Report an error if neither S_ISREG nor
        S_IFREG is defined, instead of using a test specific to glibc
        2.2.  This should be safe, since POSIX requires S_ISREG and
        Unix Version 7 had S_IFREG.  We don't need to check for
        <sys/types.h> since we don't use any symbols that it defines.

2002-06-15  Jim Meyering  <address@hidden>

        * file-type.h (FILE_TYPE_H): Guard entire contents with #ifndef.
        For GNU libc 2.2 and newer, ensure that <sys/types.h> and <sys/stat.h>
        have been included before this file.

2002-06-13  Richard Dawe  <address@hidden>

        * (lstat.c, stat.c, .sin.sed): Use t-$@, rather than 
        so that each temporary file name is unique and valid in the first
        8 characters, for operation under DOS.

2002-06-15  Jim Meyering  <address@hidden>

        Work even with DJGPP 2.03, which lacks support for symlinks.
        From Richard Dawe.
        * (S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK
        is defined.
        * lchown.c (S_ISLNK): Likewise.

2002-06-14  Jim Meyering  <address@hidden>

        * file-type.h: Use the version from diffutils-2.8.2.
        * file-type.c: Likewise.

2002-05-27  Jim Meyering  <address@hidden>

        Fix a problem seen only on nonconforming systems whereby ls.c's
        use of localtime, and then of gettimeofday would cause trouble:
        the localtime call used to initialize rpl_gettimeofday's save
        mechanism would clobber ls's current local time information so
        that in any long listing the first file would always be listed
        with date 1970-01-01.  Analysis by Volker Borchert.

        * gettimeofday.c (localtime): Undefine.
        (rpl_localtime): New function.

2002-05-22  Jim Meyering  <address@hidden>

        * (libfetish_a_SOURCES): Add file-type.c and file-type.h.
        * file-type.h: New file.
        * file-type.c (file_type): New file/function.  Extracted from diffutils.

2002-04-29  Paul Eggert  <address@hidden>

        * hard-locale.c: Upgrade to version used in GNU Diffutils 2.8.1.

2002-04-28  Paul Eggert  <address@hidden>

        * sig2str.h (SIGNUM_BOUND): Do not use WTERMSIG, to avoid
        depending on <sys/wait.h> and WTERMSIG.  Default to 64 instead
        of 127, since 64 is the largest conceivable number for ancient
        nonstandard hosts.
        * sig2str.c: Do not include <sys/wait.h>; no longer needed.

2002-04-28  Jim Meyering  <address@hidden>

        * sig2str.c (WTERMSIG): Remove definition (unused).

2002-04-28  Paul Eggert  <address@hidden>

        * sig2str.h, sig2str.c: New files.
        * (libfetish_a_SOURCES): Add sig2str.h.

2002-04-24  Jim Meyering  <address@hidden>

        * gettext.h: New file, from Gettext.
        * (INCLUDES): Remove -I../intl.
        (libfetish_a_SOURCES): Add gettext.h.

2002-04-16  Jim Meyering  <address@hidden>

        * readutmp.h (UT_TYPE): Remove definition (now in who.c).

2002-04-12  Jim Meyering  <address@hidden>

        * dirfd.h (dirfd): Elide prototype if dirfd is a macro.

m4/ChangeLog    22 Jun 2002 10:09:47 -0000      1.409
2002-06-22  Jim Meyering  <address@hidden>

        * c-stack.m4: New file, from diffutils-2.8.2.
        * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.

        * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
        now that uses AC_GNU_SOURCE.
        (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
        * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.

        Update to latest tools.  Suggestions from Paul Eggert.
        * stdbool.m4: New file, from diffutils-2.8.2.
        * gnu-source.m4: Update from diffutils-2.8.2.
        * fnmatch.m4: Likewise.
        * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)

2002-06-21  Jim Meyering  <address@hidden>

        * c-bs-a.m4: Add comment, from diffutils-2.8.2.
        * mbrtowc.m4: Likewise.

        * mbstate_t.m4: Update from diffutils-2.8.2.
        * mbswidth.m4: Reflect name change:
        * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.

        * lib-link.m4: Update from gettext-0.11.2.
        * gettext.m4: Likewise.

        * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
        From Alfred M. Szmidt.

2002-05-19  Paul Eggert  <address@hidden>

        * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.

2002-06-07  Jim Meyering  <address@hidden>

        * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
        They're needed at least for NetBSD 1.5.2.
        ($statxfs_includes): Include those same headers.
        ($statxfs_includes): Include sys/vfs.h if available.
        ($statxfs_includes): Likewise for sys/statvfs.h.
        Check for the following members in both structs statfs and statvfs:
        f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.

2002-06-01  Jim Meyering  <address@hidden>

        * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:

2002-05-28  Jim Meyering  <address@hidden>

        * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
        Reported by Volker Borchert.

2002-05-27  Jim Meyering  <address@hidden>

        * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace

        * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
        use the replacement function; it wouldn't resolve at link time.
        Reported by Volker Borchert.

2002-04-30  Jim Meyering  <address@hidden>

        * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.

2002-04-29  Paul Eggert  <address@hidden>

        * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
        Do not check for alloca.h (no longer used) or stdbool.h (was never
        used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.

2002-04-28  Paul Eggert  <address@hidden>

        * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.

2002-04-29  Jim Meyering  <address@hidden>

        * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
        * prereq.m4: Add jm_PREREQ_STRNLEN.
        Use AC_FUNC_STRNLEN here instead.

        * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
        With autoconf-2.53a, it's part of AC_PROG_CC.

2002-04-28  Paul Eggert  <address@hidden>

        * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
        * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.

2002-04-24  Jim Meyering  <address@hidden>

        * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
        (jm_PREREQ): Use it.

        * getloadavg.m4: Check for these headers: locale.h unistd.h
        mach/mach.h fcntl.h.
        Check for this function: setlocale.

2002-04-16  Jim Meyering  <address@hidden>

        * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
        ut_pid, ut_id, ut_exit.

2002-04-12  Jim Meyering  <address@hidden>

        * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
        check for f_type in sys/mount.h.  Instead, just test for the existence
        of the getmntinfo function.  Needed for Darwin 5.3.

        * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
        This is necessary at least on Darwin 5.3.

        * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
        AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
        in the library, and that makes some versions of ranlib object.

2002-04-09  Jim Meyering  <address@hidden>

        * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
        to be more precise.  Rather than saying we're checking whether the
        function `works', say what we're testing.
        * realloc.m4 (jm_FUNC_REALLOC): Likewise.
        Reported by Bruno Haible.

po/ChangeLog    22 May 2002 09:59:45 -0000      1.16
2002-05-22  Jim Meyering  <address@hidden>

        * Add lib/file-type.c.

2002-04-14  Jim Meyering  <address@hidden>

        * Add src/stat.c.

2002-04-12  Jim Meyering  <address@hidden>

        * Add src/link.c and src/unlink.c.

reply via email to

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