coreutils-announce
[Top][All Lists]
Advanced

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

[Coreutils-announce] sh-utils-2.0.12 released


From: Jim Meyering
Subject: [Coreutils-announce] sh-utils-2.0.12 released
Date: Wed, 01 May 2002 13:40:57 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu)

Finally!  It's been 18 months since the last test release.

Thanks to Marcus Brinkmann for writing the first version
of kill.c and to Paul Eggert for rewriting it.

Thanks to Michael Stone for the changes to make who.c more POSIX
compliant on Linux/GNU systems.  Note that much of the new code
serves no purpose on other systems, since they lack the necessary
utmp fields.

If you find that some new functionality isn't available on
some other system, then please post to bug-sh-utils with
information that will help us make GNU who work there.

  ftp://alpha.gnu.org/gnu/fetish/sh-utils-2.0.12.tar.gz   (1.9 MB)
  ftp://alpha.gnu.org/gnu/fetish/sh-utils-2.0.12.tar.bz2  (1.3 MB)
  http://fetish.sf.net/sh-utils-2.0.12.tar.gz   (1.9 MB)
  http://fetish.sf.net/sh-utils-2.0.12.tar.bz2  (1.3 MB)

And here are xdelta-style diffs

  ftp://alpha.gnu.org/gnu/fetish/sh-utils-2.0.11-2.0.12.xdelta   (936 KB)
  http://fetish.sf.net/sh-utils-2.0.11-2.0.12.xdelta   (936 KB)

Here are the MD5 and SHA1 signatures:

3fa5e5a587398e34af2a3779b87e2f67  sh-utils-2.0.12.tar.gz
e9d429834003b7acb5d908ad581774c1  sh-utils-2.0.12.tar.bz2
52fc6f2fed0d6c2fcb7f1344f9480249  sh-utils-2.0.11-2.0.12.xdelta
6d7510ec12800cb07657b6a1866ae7297af6aad8  sh-utils-2.0.12.tar.gz
7fa491eeae42f3a48fb540877db5d87611da5f28  sh-utils-2.0.12.tar.bz2
3b413cb9039ba84a5d3ce601ff40fe88b070f7ae  sh-utils-2.0.11-2.0.12.xdelta

NEWS:
 [2.0.12]
* kill: new program
* who accepts new options: --all (-a), --boot (-b), --dead (-d), --login,
   --process (-p), --runlevel (-r), --short (-s), --time (-t), --users (-u).
   The -u option now produces POSIX-specified results and is the same as
   the long option `--users'.  --idle is no longer the same as -u.
* The following changes apply on systems conforming to POSIX 1003.1-2001,
  and are required by the new POSIX standard:
   - `date -I' is no longer supported.  Instead, use `date --iso-8601'.
   - `nice -NUM' is no longer supported.  Instead, use `nice -n NUM'.
* New 'uname' options -i or --hardware-platform, and -o or --operating-system.
   'uname -a' now outputs -i and -o information at the end.
   New uname option --kernel-version is an alias for -v.
   Uname option --release has been renamed to --kernel-release,
   and --sysname has been renamed to --kernel-name;
   the old options will work for a while, but are no longer documented.
* 'expr' now uses the LC_COLLATE locale for string comparison, as per POSIX.
* 'expr' now requires '+' rather than 'quote' to quote tokens;
    this removes an incompatibility with POSIX.
* date -d 'last friday' would print a date/time that was one hour off
    (e.g., 23:00 on *thursday* rather than 00:00 of the preceding friday)
    when run such that the current time and the target date/time fall on
    opposite sides of a daylight savings time transition.
    This problem arose only with relative date strings like `last monday'.
    It was not a problem with strings that include absolute dates.
* factor is twice as fast, for large numbers
 [2.0.11]

ChangeLog entries:

**********************************************************************
ChangeLog       2002/05/01 06:56:32     1.763
**********************************************************************
2002-04-29  Jim Meyering  <address@hidden>

        * Version 2.0.12.

        Avoid warnings from gcc.
        * src/who.c (PIDSTR_DECL_AND_INIT): Cast ut_pid value to int.
        (make_id_equals_comment): Cast sizeof expression (used as field
        width argument) to `int'.

        * configure, config.hin, Makefile.in, etc.: Regenerate using
        autoconf-2.53a.

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

        * src/who.c: Don't include xalloc.h.
        It's already included via system.h.

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

        * src/kill.c: Rewrite from scratch.  Support everything
        required by POSIX 1003.1-2001; when this conflicts with Bash,
        stick with POSIX.  The conflicts are kill -l output format,
        and lower case signal names preceded by `-' (e.g., "kill -hup"
        is no longer supported).  Remove -L or --long-list option.
        Add -t or --table option.  Rename --sigspec to --signal;
        remove --signum and do not advertise obsolescent option -n.
        Use str2sig and str2sig to convert between signal names and
        numbers.

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

        * lib/sig2str.h, lib/sig2str.c: New files.
        * configure.ac (AC_CHECK_DECLS): Add str2signal, strtoimax,
        sys_siglist, _sys_siglist.
        * lib/Makefile.am (libfetish_a_SOURCES): Add sig2str.h.
        * m4/jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
        * m4/prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
        (jm_PREREQ_SIG2STR): New macro.

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

        * src/test.c (test_syntax_error): Add `const' to paramater
        declarations to avoid new warning from gcc.
        (integer_expected_error): Likewise.

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

        * configure.ac (AM_GNU_GETTEXT): Add external arg.
        (AC_CONFIG_FILES): Remove intl/Makefile.
        * Makefile.am (SUBDIRS): Remove intl.
        * src/Makefile.am (INCLUDES): Remove -I../intl.

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

        * src/who.c (BOOT_TIME): Define.
        (NEW_TIME): Define to 0, not INT_MAX.
        (UT_PID, UT_ID, UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define.
        Replace literal uses of ut_pid, ut_id, and ut_exit members with
        uses through macros.
        (make_id_equals_comment): New function, factored out of three others.
        (UT_TYPE_UNDEF, UT_TYPE, IS_USER_PROCESS): Define.
        (print_line): Use "%-8.8s" for the format: the user name is not
        always NUL terminated.
        (scan_entries) [need_users]: Use IS_USER_PROCESS, so that this works
        even on systems without ut_type.

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

        * src/who.c: Include xalloc.h.
        Use xmalloc everywhere, not malloc.

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

        * src/Makefile.am (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.

2002-02-26  Paul Eggert  <address@hidden>

        * src/test.c (age_of): Return -1 and 0 rather than 0 and 1.
        Might as well keep it simple, and like bash.
        (binary_operator): Fix bug with -nt and -ot, when one of the
        files did not exist.  We want to be compatible with the ksh93
        documentation, and with Bash.

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

        * src/seq.c (usage): Mention that --format=FORMAT must be
        a *floating-point* format, also in description of that option.
        Reported by Karl Eichwalder.
        (usage): Also add the `=' signs here: --format=FORMAT,
        --separator=STRING.

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

        * src/Makefile.am (datadir): Don't override $(datadir)
        which might be set by --datadir and different from $(prefix)/share.
        Patch from Albert Chin-A-Young.

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

        * configure.ac (AM_INIT_AUTOMAKE): Specify here the required version
        of automake (1.6), and options (gnits dist-bzip2), rather than...
        * Makefile.am (AUTOMAKE_OPTIONS): ...here.  Remove definition.

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

        * Makefile.am (EXTRA_DIST): Remove config/config.rpath,
        now that automake knows about it.

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

        * Makefile.am (EXTRA_DIST): Add config/config.rpath.

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

        * tests/nice: Export _POSIX2_VERSION=199209, so we can continue
        to exercise the now-obsolete options.

        * Makefile.maint (strftime-check): Add `N'.

2002-02-27  Paul Eggert  <address@hidden>

        * doc/coreutils.texi (Time directives): Add %N for nanoseconds.
        This documents the recent change to 'ls'.  But for this to
        be accurate we also have to update 'date', as follows:

        * src/Makefile.am (date_LDADD): New macro.

        * src/date.c: Include timespec.h.
        (strftime, time, stime): Remove declarations; no longer needed.
        (usage): Document %N.
        (main): Use gettime rather than time to get the time of day,
        so that we can get fractional times.
        Similarly for settime and stime, so that we can set fractional times
        (though this currently is not available to the user since we don't
        parse fractional times; add FIXMES for that).
        Check for gettime failures; e.g. this can occur if it
        is past 2038 and we are a 32-bit app running on a 64-bit OS.
        Get fractional part of file time stamps.
        Do not falsely report failures just because time_t happens to be -1
        (e.g. a file time stamp 1 second before the epoch).
        (show_date): 2nd arg is now struct timespec, not time_t.
        All uses changed.  Use nstrftime rather than strftime, so that
        we can format fractional seconds.

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

        * src/nice.c: Include posixver.h.
        * src/date.c: Likewise.

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

        * ABOUT-NLS, intl/*: Update to Gettext 0.11.
        * INSTALL: Update to Autoconf 2.52h.

        * src/Makefile.am (datadir): Use `share' in place of @DATADIRNAME@,
        per Gettext-0.11.
        (LDADD): Use @LIBINTL@ instead of @INTLLIBS@, per Gettext-0.11.

        * configure.ac (AC_CONFIG_AUX_DIR): New macro invocation.
        (ALL_LINGUAS): Remove: now in po/LINGUAS as per Gettext 0.11.

        * config: New subdirectory, containing the following files from .:
        config.guess, config.sub, depcomp, missing, install-sh, mkinstalldirs.
        Move the following files here from doc: texinfo.tex, mdate-sh.

2002-02-15  Paul Eggert  <address@hidden>

        Add support for _POSIX2_VERSION, which lets you pick which POSIX
        version you want the utilities to conform to.  Remove warnings about
        failure to conform to a future POSIX version.

        * src/date.c (ISO_8601_OPTION): Remove; no longer needed.
        All uses changed to back to the corresponding short options.
        (short_options): Remove; no longer needed.
        (COMMON_SHORT_OPTIONS): New macro.

        * src/date.c (usage): Document only the intersection of the
        old and new behaviors, to encourage portability.
        (main): Parse options using POSIX 1003.1-2001 rules if
        conforming to that standard.  Do not warn of obsolete options.
        * src/nice.c (usage, main): Likewise.

2002-02-11  Paul Eggert  <address@hidden>

        * src/nice.c (main): Output warnings only if OBSOLETE_OPTION_WARNINGS.

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

        * src/date.c (usage): Describe %F, %g, %G, %P, and %R.
        Tweak the description of %p.

        * tests/stty/basic-1: Use `tail -n +2', rather than `tail +2'.

2002-02-03  Paul Eggert  <address@hidden>

        Add more support for POSIX 1003.1-2001, which requires removal
        for support of obsolete "-DIGITS" option syntax in nice, and
        which prohibits options with optional arguments like date's
        -I option.

        * NEWS, coreutils.texi: Document this.

        * src/date.c (ISO_8601_OPTION): New enum value.
        (long_options): Use it.
        (short_options): New constant.

        * src/date.c (usage): Document the change.
        * src/nice.c (usage): Likewise.

        * src/date.c (main): Conform to POSIX 1003.1-2001 if
        POSIX2_VERSION says to, otherwise warn of obsolete usage if
        OBSOLETE_OPTION_WARNINGS is nonzero and if not POSIXLY_CORRECT.
        * src/nice.c (main): Likewise.

2002-02-02  Bruno Haible  <address@hidden>

        * printf.c (print_esc): Call print_unicode_char with exit_on_error =
        false.

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

        * Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.5d.
        * configure.ac (AM_INIT_AUTOMAKE): Use zero-arg form of this macro.

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

        * po/POTFILES.in: Add lib/xmemcoll.c and src/sys2.h.

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

        * Makefile.maint (strftime-check): New rule.
        (local-check): Convert this target to a list.  Update uses.
        Mark them as .PHONY.
        (header-check): New rule.
        (local-check): Add header-check.

        * src/dirname.c: Don't include "xalloc.h", as system.h already
        does that via sys2.h.
        * src/expr.c: Likewise.

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

        * configure.ac: Remove code that set LIBOBJS in support of ansi2knr.
        The latest version of autoconf objected to it, and besides, I don't
        care too much about K&R support these days.

2002-01-14  Paul Eggert  <address@hidden>

        * src/date.c, src/logname.c, src/pathchk.c: Comment fixes
        to bring us up to date with respect to POSIX 1003.1-2001.
        In particular, POSIX.2 is now obsolete.

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

        * configure.ac (ALL_LINGUAS): Add Catalan (ca).

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

        * Makefile.maint (real_dir): Remove unused variable.
        (url_dir_list): Don't set define it here, but...
        * Makefile.cfg (url_dir_list): ...define it here instead.
        (hosts, a_host, b_host): Remove now-unused variables.
        (alpha_subdir, a_url_dir, b_url_dir): Remove now-unused variables.

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

        * src/basename.c, src/chroot.c, src/date.c, src/dirname.c, src/echo.c,
        * src/env.c, src/expr.c, src/factor.c, src/hostid.c, src/hostname.c,
        * src/id.c, src/kill.c, src/logname.c, src/nice.c, src/pathchk.c,
        * src/pinky.c, src/printenv.c, src/printf.c, src/pwd.c, src/seq.c,
        * src/sleep.c, src/stty.c, src/su.c, src/tee.c, src/test.c, src/true.c,
        * src/tty.c, src/uname.c, src/uptime.c, src/users.c, src/who.c,
        * src/whoami.c, src/yes.c (usage): Use fputs, not printf.
        Split --help output into smaller pieces.
        Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
        instead of hard-coding --help and --version descriptions.

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

        * Makefile.cfg (wget_files): Remove ansi2knr.c, since it's
        no longer available at that location.

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

        * basename.c, dirname.c, expr.c, factor.c, hostname.c (usage):
        * logname.c, printenv.c, printf.c, pwd.c, sleep.c, test.c (usage):
        * true.c, whoami.c, yes.c (usage):
        Indent --help and --version strings to start in the 7th column.

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

        * 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-11  Jim Meyering  <address@hidden>

        * src/Makefile.am (printf_LDADD): Reflect spelling change:
        s/POW_LIBM/POW_LIB/.
        (sleep_LDADD): Likewise.

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

        * src/date.c (usage): Document %u.  Reported by Albert Hopkins.

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

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

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

        * configure.ac: Tell automake to use the file name `config.hin'
        rather than the two-`.' config.h.in.

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

        * man/Makefile.am (common_dep): Define it, so we depend on configure.ac.

        * configure.ac: Renamed from configure.in.

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

        * src/Makefile.am:
        (factor_DEPENDENCIES, printf_DEPENDENCIES seq_DEPENDENCIES):
        (sleep_DEPENDENCIES uptime_DEPENDENCIES su_DEPENDENCIES):
        Remove unnecessary definitions.  They can cause trouble
        when @INTLLIBS@ expands to -lintl.

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

        * Makefile.am (SUBDIRS): When using newer gettext (in which
        intl/libintl.h is created by rules intl/Makefile)
        `intl' must precede `lib'.

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

        * src/printf.c (main): Change the `ignoring excess arguments' diagnostic
        to list the first one we're ignoring.  Suggestion from Karl Berry.

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

        * src/stty.c (usage): Prefix each line with a space, so that
        help2man produces a better stty.1 man page.
        From Colin Watson, via Michael Stone.  http://bugs.debian.org/95816

        * src/test.c (usage): Describe -h option.
        From Colin Watson, via Michael Stone.  http://bugs.debian.org/99272

        * man/pwd.x: Add note to help people understand that this documentation
        may not refer to the (shell built-in) command they're running.
        * man/echo.x: Likewise.
        * man/printf.x: Likewise.
        From Michael Stone.

        * Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.5.

        * man/Makefile.am: Revamp this file, as for fileutils.

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

        * configure.in: Move HOST_OPERATING_SYSTEM code from this file
        into a new macro defined in m4/host-os.m4.

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

        * src/test.c (binary_operator): Correct typo in diagnostic.
        From Jochen Hein.

2001-09-03  Paul Eggert  <address@hidden>

        * NEWS: New 'uname' options -i or --hardware-platform,
        and -o or --operating-system.
        'uname -a' now outputs -i and -o information at the end.
        New uname option --kernel-version is an alias for -v.
        Uname option --release has been renamed to --kernel-release,
        and --sysname has been renamed to --kernel-name;
        the old options will work for a while, but are no longer documented.

        * configure.in (HOST_OPERATING_SYSTEM): New macro; set it
        from $host_os with a translation table and other heuristics.

        * src/uname.c: Correct copyright notice as per latest coding standards.
        Remove list of options in comment, which wasn't
        worth maintaining separately from usage().

        (print_element): Move definition up, avoiding the need for
        declaration and allowing inlining on some platforms.
        Keep track of whether something has been printed; this is more
        natural than modifying `toprint'.

        (PRINT_KERNEL_NAME): Renamed from PRINT_SYSNAME.
        (PRINT_KERNEL_RELEASE): Renamed from PRINT_RELEASE.
        (PRINT_KERNEL_VERSION): Renamed from PRINT_VERSION.
        (PRINT_HARDWARE_PLATFORM, PRINT_OPERATING_SYSTEM): New macros.
        (toprint): Remove global var; now local in `main'.
        (long_options, usage, main): Implement changes described in NEWS.
        Reorder options to reflect output order.
        (main): Use buffers one byte longer, for compatibility with Solaris 8.
        Output newline at end.  -a sets `toprint' to -1 now; this is simpler.
        Do not bother invoking system calls like uname if the resulting
        information does not need to be printed.
        Do not fail if sysinfo fails; just print "unknown".

2001-08-30  Paul Eggert  <address@hidden>

        * src/tee.c (full_write): Remove decl; not needed.

2001-06-19  Paul Eggert  <address@hidden>

        * NEWS: expr now uses LC_COLLATE for string comparison, as per POSIX.
        * src/expr.c (nextarg): Use strcoll, not strcmp.

2001-08-24  Jim Meyering  <address@hidden>

        * src/pinky.c (main): Fail if -l is specified with no username.

        * src/pinky.c (usage): Clarify description of -l.  From Clark Morgan.

2001-06-21  Paul Eggert  <address@hidden>

        * NEWS: 'expr' now requires '+' rather than 'quote' to quote tokens.

        * src/expr.c (posixly_correct): Remove; no longer needed.
        (main): Do not worry about POSIXLY_CORRECT, as it's OK for
        expr to have options (so long as they do not begin with digits).
        (eval6, usage): Use "+" rather than "quote" to quote tokens.

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

        * src/Makefile.am (bin_PROGRAMS): Add kill.
        * src/kill.c: New program.  Written by Marcus Brinkmann.

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

        * po/POTFILES.in: Add src/kill.c

2001-06-21  Paul Eggert  <address@hidden>

        * src/expr.c (nextarg): Advance ARGS by one if the next token matches.
        All callers changed.

2001-06-21  Paul Eggert  <address@hidden>

        * src/expr.c (isstring): Remove.
        (eval2): Do comparisons as strings first, before trying to convert to
        integer.  This avoids loss of information and wrong result, e.g. for
        "expr '00' '<' '0!'", where you don't want to convert '00' to '0'.

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

        * tests/expr/basic (00): New test for the above.

2001-06-21  Paul Eggert  <address@hidden>

        * src/expr.c: Code cleanup to avoid tricky macros and
        old-style function declarations.

        (cmpf, less_than, less_equal, equal, not_equal, greater_equal,
        greater_than, arithf, arithdivf, plus, minus, multiply, divide, mod):
        Remove.

        (eval4, eval3, eval2): Rewrite to avoid the need for the above macros
        and functions.

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

        * src/test.c (binary_operator): Move declarations of lt,rt `down'
        into the scopes where they're actually used.
        (unary_operator): Likewise for `fd'.

2001-06-20  Paul Eggert  <address@hidden>

        * src/test.c (isint, binary_operator, unary_operator):
        Use intmax_t for argument integers, not long.
        (age_of, binary_operator): Use time_t for times, not long.
        (unary_operator): If N is out of int range, -t N now returns false.

2001-06-20  Paul Eggert  <address@hidden>

        * src/expr.c (main): Handle a leading "--" option as POSIX requires.

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

        * tests/expr/basic: Add a test for the above.

2001-06-20  Paul Eggert  <address@hidden>

        * src/expr.c (toarith): Don't accept plain "-" as a valid integer.

2001-06-20  Paul Eggert  <address@hidden>

        Modify 'expr' so that it uses intmax_t, not int, to calculate
        the value of integer expressions.

        * src/expr.c (struct valinfo.i): Now intmax_t, not int.
        (docolon, int_value, str_value, isstring, nextarg, toarith,
        freev, tostring, trace): Remove unnecessary forward decls.
        (int_value, printv, tostring, toarith, arithf, arithdivf, docolon,
        eval6, eval4, eval3): Do integer arithmetic using intmax_t, not int.
        (docolon): Don't assume size_t fits in int.

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

        * tests/expr/basic: New test for the above.
        * tests/expr/Makefile.am: New file.
        * tests/expr: New directory.
        * tests/Makefile.am (SUBDIRS): Add expr.
        * configure.in (AC_OUTPUT): Add tests/expr/Makefile.

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

        Revert part of last change and solve the problem a better way.
        * src/date.c (show_date) [--rfc-822]: Set LC_ALL=C just before
        calling strftime and restore it just afterwards.
        Suggestion from Ulrich Drepper.

2001-08-18  H. Peter Anvin  <address@hidden>

        * src/date.c (show_date) [--rfc-822]: Don't space-pad the day of
        the month.
        Set only LC_TYPE to the "C" locale.  Setting LC_ALL is overkill,
        and would have unwanted side effects if there is an error message.

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

        * src/date.c (main): When there are too many non-option arguments,
        include the first offending argument in the diagnostic.
        Suggestion from Karl Berry.

2001-08-14  Jim Meyering  <address@hidden>

        * src/Makefile.am (INCLUDES): Add -I../lib so sys2.h can include
        the new, generated file, unlocked-io.h.

        * tests/Makefile.am (TESTS_ENVIRONMENT): Remove first definition
        of this variable, and move its RHS into the RHS of the second.
        Thanks, automake!

        * src/su.c (xputenv): Remove parameter's const qualifier.

        * src/dirname.c, src/env.c, src/id.c, src/pathchk.c, src/pinky.c,
        * src/printenv.c, src/sleep.c, src/tee.c, src/test.c, src/uptime.c,
        * src/users.c, src/who.c: (AUTHORS): Mark string for translation,
        since it contains the English word `and'.

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

        * src/pathchk.c (PATH_MAX_FOR): Use pathconf via wrapper.
        (NAME_MAX_FOR): Likewise.
        Guard the above pathconf-using definitions with `#if HAVE_PATHCONF'
        rather than with `#ifdef _POSIX_VERSION'.
        (pathconf_wrapper): New function.
        (validate_path): Declare length variables to be `long', not `int'.
        Adjust corresponding printf-style specs to use %ld.
        Reported by Neal H Walfield.

2001-08-07  Jim Meyering  <address@hidden>

        * src/printf.c (cfcc_msg): Remove now-inaccurate part of comment.
        From Bruno Haible.

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

        * Makefile.cfg: New file with package-specific definitions.
        * Makefile.am (EXTRA_DIST): Add Makefile.cfg.

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

        (PIDSTR_DECL_AND_INIT): Define.

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

        * configure.in (ALL_LINGUAS): Add Turkish (tr).

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

        * src/dirname.c (main): Add `const' to declaration of local, `result'.

2001-04-01  Jim Meyering  <address@hidden>

        Add options to make `who' more POSIX compliant.
        * who.c: Accept new options: --all (-a), --boot (-b), --dead (-d),
        --login, --process (-p), --runlevel (-r), --short (-s), --time (-t),
        --users (-u).
        The -u option now produces POSIX-specified results and is the same as
        the long option `--users'.  --idle is no longer the same as -u.
        (time_string, print_line, print_boottime, print_deadprocs, print_login,
        print_initspawn, print_clockchange, print_runlevel): New functions.
        (print_user): Renamed from print_entry and reworked.
        (search_entries): Remove function.
        (who_am_i): Likewise.
        (usage): Describe new options.
        (main): Handle new options.
        Mostly from Michael Stone.

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

        dirname code cleanup.  base_name now behaves more compatibly
        with POSIX basename when given file names that have trailing
        slashes, and similarly for dir_name.  Add new primitives
        base_len and dir_len.  Put the directory-name-related decls
        into dirname.h.

        * basename.c: Include "dirname.h".
        (base_name, strip_trailing_slashes): Remove decls; now in dirname.h.
        (main): Use base_len instead of strip_trailing_slashes to strip
        trailing slashes.

        * dirname.c (strip_trailing_slashes): Remove decl;
        now in dirname.h.
        (main): Use dir_len rather than dir_name_r.

        * su.c: Include "dirname.h".
        (base_name): Remove decl; now in dirname.h.

2001-04-20  Jim Meyering  <address@hidden>

        * doc/sh-utils.texi (false invocation): Describe how --help and
        --version are treated with and without POSIXLY_CORRECT.
        (true invocation): Likewise.  Forwarded by Michael Stone.

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

        * tests/Fetish.pm: If the $DJDIR envvar is defined, set SHELL
        to $DJDIR/bin/bash.exe.  Patch from Richard Dawe, based on a
        suggestion from Eli Zaretskii.

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

        * doc/sh-utils.texi (date invocation): Correct the description of how
        date works when given no format.  Reported by Ole Laursen.

        * src/factor.c: Include wheel-size.h.
        (WHEEL_START): Adjust definition.
        (wheel_tab[]): Remove body of definition.
        Include generated file, wheel.h, instead.

        * src/wheel-gen.pl: New file.
        * src/Makefile.am (noinst_HEADERS): Add wheel.h wheel-size.h.
        (EXTRA_DIST): Add wheel-gen.pl.
        (PERL): Define.
        (wheel-size.h, wheel.h): New rules.
        (BUILT_SOURCES): Add wheel.h and wheel-size.h.
        (MAINTAINERCLEANFILES): Define.

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

        * Makefile.maint (my_distdir): Define new variable, and use this
        in place of most old uses of $(distdir).

        * src/date.c (usage): Describe %C.
        * doc/sh-utils.texi (Date directives): Likewise.

        * tests/help-version: Ensure that /dev/full is a character device
        (using test -c) as well as being writable, before trying to write to it.
        Otherwise, the test could mistakenly append a newline to an existing,
        regular, writable, /dev/full file.
        Suggested by Ulrich Drepper.

2001-03-07  Jim Meyering  <address@hidden>

        * tests/stty/Makefile.am (EXTRA_DIST): Remove input-tty.
        * tests/Makefile.am (EXTRA_DIST): Add input-tty.

        * tests/stty/basic-1: Reflect change in location of input-tty.
        * tests/stty/row-col: Likewise.
        * tests/stty/input-tty: Move this file...
        * tests/input-tty: ... to here.

2001-02-24  Paul Eggert  <address@hidden>

        * doc/sh-utils.texi: Fix typo: '-d=1may' -> '-d 1may'.
        Fix and clarify time zone usage in 'date' examples.

2001-02-04  Jim Meyering  <address@hidden>

        * src/factor.c (usage): Tweak --help output: it prints the _prime_
        factors, not just any factors.

2001-02-03  Jim Meyering  <address@hidden>

        Improve the performance of `factor' (more than 2x speed-up for large N).
        * src/factor.c (wheel_tab): New global table.
        (WHEEL_START, WHEEL_END): Define.
        (factor): Remove the loop that special-cased `2'.
        Instead of incrementing by `2', use the offsets from the wheel table.
        From Michael Steffens.

2000-11-27  Prashant TR  <address@hidden>

        * src/test.c (eaccess) [__MSDOS__]: Just use access.

2001-01-26  Jim Meyering  <address@hidden>

        * src/dirname.c (main): Declare local result as non-const, now
        that it's freed.

2001-01-20  Jim Meyering  <address@hidden>

        * configure.in: Remove jm_CHECK_ALL_TYPES.
        Now it's invoked by jm_MACROS.

2001-01-04  Jim Meyering  <address@hidden>

        * src/date.c (main): Fail when --rfc-822 (-R) is specified along
        with a format string.  Reported by Jochen Hein.

2000-12-17  Jim Meyering  <address@hidden>

        * doc/texinfo.tex: Update from master repository.
        * config.sub: Likewise.
        * config.guess: Likewise.

        * djgpp: New directory.
        * djgpp/*: New files.
        * Makefile.am (SUBDIRS): Add djgpp.
        * configure.in (AC_OUTPUT): Add djgpp/Makefile.
        From Prashant TR.

2000-12-08  Jim Meyering  <address@hidden>

        * src/dirname.c: Include xalloc.h.
        (main): Use dir_name rather than the underlying dir_name_r.
        The former now handles cwd-relative names with drive-letter prefixes.

2000-12-02  Jim Meyering  <address@hidden>

        * src/seq.c (valid_format): Move pre-increment to a separate statement
        to avoid a warning.

        * src/id.c: Move dcls of globals used only in main...
        (main): ...to here.
        (usage): Clarify option descriptions.

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

        * po/Makefile.in.in: Sync with the one from fileutils.

        * configure, config.h.in, Makefile.in, etc.: Regenerate using the
        very latest version (in CVS) of autoconf.

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

        * GNUmakefile (.NOTPARALLEL): New target.  Prevent unwanted parallelism.
        Suggestion from Ulrich Drepper.

        * src/pinky.c: Explicitly include sys/types.h before including system.h.
        * src/uptime.c: Likewise.
        * src/users.c: Likewise.
        * src/who.c: Likewise.

2000-11-13  Paul Eggert  <address@hidden>

        * src/sys2.h (ST_TIME_CMP_NS): Fix typo: ST_MTIM_NSEC should
        be tested with #ifdef, not with #if.

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

        * src/date.c (show_date): Add a comment explaining why the
        format string must not be translatable via _().  From Paul Eggert.

2000-10-31  Jim Meyering  <address@hidden>

        * doc/sh-utils.texi: Clean up indentation and punctuation.
        Fix a couple typos.  From Brian Youmans.

2000-10-30  Jim Meyering  <address@hidden>

        * configure, config.h.in, Makefile.in, etc.: Regenerate using the
        very latest version (in CVS) of autoconf.

        * src/system.h (O_BINARY, O_TEXT): Define if necessary.
        * src/Makefile.am (bin_PROGRAMS): Add true and false.
        * src/id.c (xgetgroups): Take new parameter, gid, and pass
        * acconfig.h (chown): Add undef.
        * src/printf.c (cfcc_msg): File-scope constant.
        * src/printf.c (STRTOX): Interpret arguments like 'a and "a
        * lib/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
        * m4/mktime.m4 (AM_FUNC_MKTIME): Fix bug in mktime test -- don't
        * configure.in (AC_REPLACE_FUNCS): Add memcpy and memset.
        * configure.in (AC_OUTPUT): Use echo, not date, to avoid creating

[Note: I've omitted all but the top-level ChangeLog entries, since
the others are pretty long and have mostly appeared in recent
fileutils releases. ]



reply via email to

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