platform/upstream/coreutils.git
21 years agoUpdate via autoupdate.
Jim Meyering [Sun, 17 Nov 2002 10:10:26 +0000 (10:10 +0000)]
Update via autoupdate.
Add `AM_GNU_GETTEXT_VERSION(0.11.5)'.

21 years ago*** empty log message ***
Jim Meyering [Sun, 17 Nov 2002 09:59:34 +0000 (09:59 +0000)]
*** empty log message ***

21 years ago(movefile): Don't remove trailing slashes from SOURCE.
Jim Meyering [Sun, 17 Nov 2002 09:41:34 +0000 (09:41 +0000)]
(movefile): Don't remove trailing slashes from SOURCE.

21 years ago*** empty log message ***
Jim Meyering [Sun, 17 Nov 2002 09:36:43 +0000 (09:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 16 Nov 2002 16:45:36 +0000 (16:45 +0000)]
*** empty log message ***

21 years agoUse AC_REQUIRE everywhere it is possible.
Jim Meyering [Sat, 16 Nov 2002 16:45:30 +0000 (16:45 +0000)]
Use AC_REQUIRE everywhere it is possible.
(jm_PREREQ_CANON_HOST): Remove duplicates.

21 years ago*** empty log message ***
Jim Meyering [Fri, 15 Nov 2002 21:02:16 +0000 (21:02 +0000)]
*** empty log message ***

21 years ago(gnu_rel_host): Define.
Jim Meyering [Fri, 15 Nov 2002 21:02:04 +0000 (21:02 +0000)]
(gnu_rel_host): Define.
(url_dir_list): Choose from (alpha|ftp).gnu.org depending
on whether $(VERSION) looks like a major release number.

21 years ago(mail_gpg_sign_cookie): Backslash-escape `#'.
Jim Meyering [Fri, 15 Nov 2002 20:59:56 +0000 (20:59 +0000)]
(mail_gpg_sign_cookie): Backslash-escape `#'.
(release): Rename from `alpha'.
(alpha): Depend on release.

21 years ago*** empty log message ***
Jim Meyering [Fri, 15 Nov 2002 10:19:09 +0000 (10:19 +0000)]
*** empty log message ***

21 years ago(signatures): Define with ?=, so it's easy to override.
Jim Meyering [Fri, 15 Nov 2002 10:19:02 +0000 (10:19 +0000)]
(signatures): Define with ?=, so it's easy to override.

21 years ago.
Jim Meyering [Fri, 15 Nov 2002 08:36:57 +0000 (08:36 +0000)]
.

21 years ago.
Jim Meyering [Fri, 15 Nov 2002 08:19:10 +0000 (08:19 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 14:38:23 +0000 (14:38 +0000)]
*** empty log message ***

21 years agoDon't include libintl.h, and don't define `_' -- they're not used.
Jim Meyering [Thu, 14 Nov 2002 14:38:03 +0000 (14:38 +0000)]
Don't include libintl.h, and don't define `_' -- they're not used.

21 years agoupdate from master sources
Jim Meyering [Thu, 14 Nov 2002 14:26:05 +0000 (14:26 +0000)]
update from master sources

21 years agoRemove lib/long-options.c and lib/same.c.
Jim Meyering [Thu, 14 Nov 2002 12:46:17 +0000 (12:46 +0000)]
Remove lib/long-options.c and lib/same.c.
Although each defines `_', neither actually used it.

21 years ago*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 12:37:49 +0000 (12:37 +0000)]
*** empty log message ***

21 years agoDuh. change use, too.
Jim Meyering [Thu, 14 Nov 2002 12:37:27 +0000 (12:37 +0000)]
Duh.  change use, too.

21 years ago(mail_gpg_sign_cookie): Rename to use _'s, not -'s.
Jim Meyering [Thu, 14 Nov 2002 12:32:57 +0000 (12:32 +0000)]
(mail_gpg_sign_cookie): Rename to use _'s, not -'s.

21 years ago*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 12:20:09 +0000 (12:20 +0000)]
*** empty log message ***

21 years ago(mail-gpg-sign-cookie): Make optional.
Jim Meyering [Thu, 14 Nov 2002 12:20:01 +0000 (12:20 +0000)]
(mail-gpg-sign-cookie): Make optional.
(announcement): Use the new variable.

21 years ago*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 12:09:42 +0000 (12:09 +0000)]
*** empty log message ***

21 years agoSync with Bison, i.e.:
Jim Meyering [Thu, 14 Nov 2002 12:09:16 +0000 (12:09 +0000)]
Sync with Bison, i.e.:
(po-check): Scan .l and .y files instead of the
.c and the .h files that they generate.  This fixes the bug
reported by Tim Van Holder in:
<http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
Look for N_ as well as for _.  Try to avoid matching #define for
N_ and _.
From Paul Eggert.

21 years ago*** empty log message ***
Jim Meyering [Wed, 13 Nov 2002 09:50:22 +0000 (09:50 +0000)]
*** empty log message ***

21 years ago(Examples of expr): Remove bogus `^'s.
Jim Meyering [Wed, 13 Nov 2002 09:50:16 +0000 (09:50 +0000)]
(Examples of expr): Remove bogus `^'s.

21 years ago*** empty log message ***
Jim Meyering [Wed, 13 Nov 2002 09:49:41 +0000 (09:49 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 12 Nov 2002 08:31:16 +0000 (08:31 +0000)]
*** empty log message ***

21 years ago(HAVE_SYMLINKS): Remove unnecessary macro definition.
Jim Meyering [Tue, 12 Nov 2002 08:31:05 +0000 (08:31 +0000)]
(HAVE_SYMLINKS): Remove unnecessary macro definition.
Replace sole use with equivalent `#ifdef S_ISLNK'.
Inconsistency reported by Dmitry V. Levin.

21 years ago*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 13:39:02 +0000 (13:39 +0000)]
*** empty log message ***

21 years agoEnsure that `ls -dF --color symlink-to-dir' works properly.
Jim Meyering [Mon, 11 Nov 2002 13:38:48 +0000 (13:38 +0000)]
Ensure that `ls -dF --color symlink-to-dir' works properly.

21 years ago*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 09:15:35 +0000 (09:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 09:15:08 +0000 (09:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 09:10:39 +0000 (09:10 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 23:25:13 +0000 (23:25 +0000)]
*** empty log message ***

21 years ago(usage): Transform --help output via s/ - / /,
Jim Meyering [Sun, 10 Nov 2002 23:24:52 +0000 (23:24 +0000)]
(usage): Transform --help output via s/ - /   /,
so that help2man produces properly formatted man pages.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 20:15:59 +0000 (20:15 +0000)]
*** empty log message ***

21 years ago(sighandler): Handle SIGTSTP specially.
Jim Meyering [Sun, 10 Nov 2002 20:15:54 +0000 (20:15 +0000)]
(sighandler): Handle SIGTSTP specially.
Based on suggestions from Solar Designer and Dmitry V. Levin.
Add comments.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 14:34:29 +0000 (14:34 +0000)]
*** empty log message ***

21 years ago(cvs_files): Define. From autoconf.
Jim Meyering [Sun, 10 Nov 2002 14:34:23 +0000 (14:34 +0000)]
(cvs_files): Define.  From autoconf.
(local_updates): Likewise.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 13:33:04 +0000 (13:33 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 10 Nov 2002 11:12:13 +0000 (11:12 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 11:11:39 +0000 (11:11 +0000)]
*** empty log message ***

21 years ago(restore_default_color_handler, sigtstp_handler): Remove functions.
Jim Meyering [Sun, 10 Nov 2002 11:11:34 +0000 (11:11 +0000)]
(restore_default_color_handler, sigtstp_handler): Remove functions.
(sighandler): New function, based on the one in sort.c.
(main): Use sigaction, if possible; otherwise signal.
Handle these signals:
SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP.
Don't register our handler if the signal is already being ignored.

21 years ago(main): Also declare `i' to be unsigned, not int.
Jim Meyering [Sun, 10 Nov 2002 10:23:41 +0000 (10:23 +0000)]
(main): Also declare `i' to be unsigned, not int.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 09:56:28 +0000 (09:56 +0000)]
*** empty log message ***

21 years ago(sighandler): Use raise, rather than kill+getpid.
Jim Meyering [Sun, 10 Nov 2002 09:56:19 +0000 (09:56 +0000)]
(sighandler): Use raise, rather than kill+getpid.
(main): Declare `nsigs' to be unsigned, not int.

21 years ago(interrupt_handler): Use raise, rather than kill+getpid.
Jim Meyering [Sun, 10 Nov 2002 09:54:37 +0000 (09:54 +0000)]
(interrupt_handler): Use raise, rather than kill+getpid.

21 years ago(interrupt_handler): Use raise, rather than kill+getpid.
Jim Meyering [Sun, 10 Nov 2002 09:53:57 +0000 (09:53 +0000)]
(interrupt_handler): Use raise, rather than kill+getpid.

21 years agoUse a return stmt. This isn't Perl.
Jim Meyering [Sun, 10 Nov 2002 09:51:37 +0000 (09:51 +0000)]
Use a return stmt.  This isn't Perl.

21 years agoDuh. add missing semicolon
Jim Meyering [Sun, 10 Nov 2002 09:50:59 +0000 (09:50 +0000)]
Duh.  add missing semicolon
Include unistd.h.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 09:46:14 +0000 (09:46 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Add AC_REPLACE_FUNCS(raise).
Jim Meyering [Sun, 10 Nov 2002 09:46:10 +0000 (09:46 +0000)]
(jm_MACROS): Add AC_REPLACE_FUNCS(raise).

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 09:44:05 +0000 (09:44 +0000)]
*** empty log message ***

21 years agocorrect indentation
Jim Meyering [Sat, 9 Nov 2002 22:36:58 +0000 (22:36 +0000)]
correct indentation

21 years agols --color: restore terminal state (color) upon signal.
Jim Meyering [Sat, 9 Nov 2002 22:27:27 +0000 (22:27 +0000)]
ls --color: restore terminal state (color) upon signal.

Include "full-write.h" and <signal.h>.
(restore_default_color, restore_default_color_handler): New functions.
(sigtstp_handler, put_indicator_direct): New functions.
(main) [print_with_color]: Register signal handlers.
Patch mostly by Solar Designer and Stanislav Ievlev.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 22:21:31 +0000 (22:21 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 9 Nov 2002 22:01:56 +0000 (22:01 +0000)]
.

21 years ago(human_readable): Revamp to avoid warning about unused
Jim Meyering [Sat, 9 Nov 2002 21:46:45 +0000 (21:46 +0000)]
(human_readable): Revamp to avoid warning about unused
variable 'amt'.  Unfortunately this means using some gotos.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 19:53:46 +0000 (19:53 +0000)]
*** empty log message ***

21 years ago(What information is listed): Correct parts of --dired description.
Jim Meyering [Sat, 9 Nov 2002 19:53:25 +0000 (19:53 +0000)]
(What information is listed): Correct parts of --dired description.
Include a lot more description, with examples.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 16:40:00 +0000 (16:40 +0000)]
*** empty log message ***

21 years ago(EXTRA_LOCALE_CATEGORIES): Add LC_TIME.
Jim Meyering [Sat, 9 Nov 2002 16:39:53 +0000 (16:39 +0000)]
(EXTRA_LOCALE_CATEGORIES): Add LC_TIME.
Patch by Tim Waugh for Red Hat bug #73669.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 12:39:42 +0000 (12:39 +0000)]
*** empty log message ***

21 years agoMake it work even when names contain spaces or shell metachars.
Jim Meyering [Sat, 9 Nov 2002 12:39:34 +0000 (12:39 +0000)]
Make it work even when names contain spaces or shell metachars.

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"

21 years agoMerge in some changes from the version in automake.
Jim Meyering [Sat, 9 Nov 2002 12:34:27 +0000 (12:34 +0000)]
Merge in some changes from the version in automake.

Remove unnecessary quotes around `case' argument.
Use `[ cond1 ] || [ cond2 ]' rather than `[ cond1 -o cond2 ]'.
Use `:' rather than `true'.

21 years ago.
Jim Meyering [Sat, 9 Nov 2002 11:36:51 +0000 (11:36 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 11:34:57 +0000 (11:34 +0000)]
*** empty log message ***

21 years agoUpdate from autoconf.
Jim Meyering [Sat, 9 Nov 2002 11:34:42 +0000 (11:34 +0000)]
Update from autoconf.
(AMTAR): Remove definition.
(update, cvs-update, po-update, do-po-update): New rules.
(wget-update): Update (thus renaming to cvs-update).
(automake_repo): Use anoncvs@sources.redhat.com.

21 years ago.
Jim Meyering [Sat, 9 Nov 2002 00:34:25 +0000 (00:34 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 00:30:37 +0000 (00:30 +0000)]
*** empty log message ***

21 years ago(jm_FUNC_GETGROUPS):
Jim Meyering [Sat, 9 Nov 2002 00:30:33 +0000 (00:30 +0000)]
(jm_FUNC_GETGROUPS):
Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.

21 years ago*** empty log message ***
Jim Meyering [Fri, 8 Nov 2002 23:20:38 +0000 (23:20 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 8 Nov 2002 22:59:57 +0000 (22:59 +0000)]
*** empty log message ***

21 years ago(jm_PREREQ_HUMAN): Check for locale.h, localeconv,
Jim Meyering [Fri, 8 Nov 2002 22:59:53 +0000 (22:59 +0000)]
(jm_PREREQ_HUMAN): Check for locale.h, localeconv,
AC_HEADER_STDBOOL.  No need to check for limits.h since it's in
freestanding C89.  No need to check for stdlib.h or string.h since
autoconf does this now.

21 years agouse only my permanent address
Jim Meyering [Fri, 8 Nov 2002 17:13:51 +0000 (17:13 +0000)]
use only my permanent address

21 years agouse only my permanent address
Jim Meyering [Fri, 8 Nov 2002 17:12:51 +0000 (17:12 +0000)]
use only my permanent address

21 years agoUse only my permanent address.
Jim Meyering [Fri, 8 Nov 2002 17:12:27 +0000 (17:12 +0000)]
Use only my permanent address.

21 years ago*** empty log message ***
Jim Meyering [Fri, 8 Nov 2002 15:33:58 +0000 (15:33 +0000)]
*** empty log message ***

21 years ago(human_readable): Avoid warnings from gcc -Wshadow.
Jim Meyering [Fri, 8 Nov 2002 15:33:30 +0000 (15:33 +0000)]
(human_readable): Avoid warnings from gcc -Wshadow.

21 years ago(human_output_opts): New var.
Jim Meyering [Fri, 8 Nov 2002 09:41:37 +0000 (09:41 +0000)]
(human_output_opts): New var.
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes.  All uses changed.

21 years ago(print_header): Use primitives from inttostr.h, not
Jim Meyering [Fri, 8 Nov 2002 09:39:36 +0000 (09:39 +0000)]
(print_header): Use primitives from inttostr.h, not
human.h, to print large numbers simply.

(human_output_opts): New var.
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes.  All uses changed.

(print_header): In the header line, prefer SI to human
representation if it's shorter; if neither is shorter, try to
intuit what the user would prefer.

21 years agoupdate from master
Jim Meyering [Thu, 7 Nov 2002 00:29:24 +0000 (00:29 +0000)]
update from master

21 years agoupdate from master
Jim Meyering [Thu, 7 Nov 2002 00:28:52 +0000 (00:28 +0000)]
update from master

21 years ago*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 16:27:45 +0000 (16:27 +0000)]
*** empty log message ***

21 years ago(automake_repo): Use anoncvs@subversions.gnu.org.
Jim Meyering [Wed, 6 Nov 2002 16:27:39 +0000 (16:27 +0000)]
(automake_repo): Use anoncvs@subversions.gnu.org.

21 years ago.
Jim Meyering [Wed, 6 Nov 2002 11:37:47 +0000 (11:37 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 11:37:15 +0000 (11:37 +0000)]
*** empty log message ***

21 years ago(EXTRA_DIST): Add inttostr.h.
Jim Meyering [Wed, 6 Nov 2002 11:37:11 +0000 (11:37 +0000)]
(EXTRA_DIST): Add inttostr.h.

21 years ago(print_long_format, print_file_name_and_frills):
Jim Meyering [Wed, 6 Nov 2002 11:02:56 +0000 (11:02 +0000)]
(print_long_format, print_file_name_and_frills):
Use primitives from inttostr.h, not
human.h, to print large numbers simply.

(human_output_opts): New var.
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes.  All uses changed.

(file_output_block_size): New var, to distinguish
file sizes from other sizes.
(decode_switches): Set it.

21 years ago*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 10:37:29 +0000 (10:37 +0000)]
*** empty log message ***

21 years ago(printf invocation): Fix typo in index: change \0x prefix to \x.
Jim Meyering [Wed, 6 Nov 2002 10:37:24 +0000 (10:37 +0000)]
(printf invocation): Fix typo in index: change \0x prefix to \x.
Change \xhhh to \xhh.

21 years ago*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 10:32:46 +0000 (10:32 +0000)]
*** empty log message ***

21 years agoAdd support for locale-specific size indications (e.g.,
Jim Meyering [Wed, 6 Nov 2002 10:32:41 +0000 (10:32 +0000)]
Add support for locale-specific size indications (e.g.,
thousands-separators) and for explicit size suffixes on output.

(Block size): Say that:
This affects display format as well as block size.
Fractional block counts are rounded up.
ls file size blocksize defaults to 1.
A block size spec preceded by ' generates thousands separators.
A suffix without a preceding integer generates suffixes.
(tail invocation): 32k -> 32 KiB.
(What information is listed): ls -h is now equivalent to
ls --block-size=human, and ls -H is now equivalent to
ls --block-size=si.  Displayed file size is now always affected by
--block-size.

21 years ago*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 10:28:11 +0000 (10:28 +0000)]
*** empty log message ***

21 years ago(usage): Update description.
Jim Meyering [Wed, 6 Nov 2002 10:28:02 +0000 (10:28 +0000)]
(usage): Update description.

21 years ago*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 09:23:55 +0000 (09:23 +0000)]
*** empty log message ***

21 years ago(TESTS): Add printf-hex.
Jim Meyering [Wed, 6 Nov 2002 09:23:50 +0000 (09:23 +0000)]
(TESTS): Add printf-hex.

21 years ago*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 09:23:33 +0000 (09:23 +0000)]
*** empty log message ***

21 years agoBe careful to test the code in this package, not the shell built-in function.
Jim Meyering [Wed, 6 Nov 2002 09:23:23 +0000 (09:23 +0000)]
Be careful to test the code in this package, not the shell built-in function.