]>
git.ipfire.org Git - thirdparty/coreutils.git/log
Jim Meyering [Fri, 15 Nov 2002 08:19:10 +0000 (08:19 +0000)]
.
Jim Meyering [Thu, 14 Nov 2002 14:38:23 +0000 (14:38 +0000)]
*** empty log message ***
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.
Jim Meyering [Thu, 14 Nov 2002 14:26:05 +0000 (14:26 +0000)]
update from master sources
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.
Jim Meyering [Thu, 14 Nov 2002 12:37:49 +0000 (12:37 +0000)]
*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 12:37:27 +0000 (12:37 +0000)]
Duh. change use, too.
Jim Meyering [Thu, 14 Nov 2002 12:32:57 +0000 (12:32 +0000)]
(mail_gpg_sign_cookie): Rename to use _'s, not -'s.
Jim Meyering [Thu, 14 Nov 2002 12:20:09 +0000 (12:20 +0000)]
*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 12:20:01 +0000 (12:20 +0000)]
(mail-gpg-sign-cookie): Make optional.
(announcement): Use the new variable.
Jim Meyering [Thu, 14 Nov 2002 12:09:42 +0000 (12:09 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 13 Nov 2002 09:50:22 +0000 (09:50 +0000)]
*** empty log message ***
Jim Meyering [Wed, 13 Nov 2002 09:50:16 +0000 (09:50 +0000)]
(Examples of expr): Remove bogus `^'s.
Jim Meyering [Wed, 13 Nov 2002 09:49:41 +0000 (09:49 +0000)]
*** empty log message ***
Jim Meyering [Tue, 12 Nov 2002 08:31:16 +0000 (08:31 +0000)]
*** empty log message ***
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.
Jim Meyering [Mon, 11 Nov 2002 13:39:02 +0000 (13:39 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 13:38:48 +0000 (13:38 +0000)]
Ensure that `ls -dF --color symlink-to-dir' works properly.
Jim Meyering [Mon, 11 Nov 2002 09:15:35 +0000 (09:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 09:15:08 +0000 (09:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 09:10:39 +0000 (09:10 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 23:25:13 +0000 (23:25 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 10 Nov 2002 20:15:59 +0000 (20:15 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 10 Nov 2002 14:34:29 +0000 (14:34 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 14:34:23 +0000 (14:34 +0000)]
(cvs_files): Define. From autoconf.
(local_updates): Likewise.
Jim Meyering [Sun, 10 Nov 2002 13:33:04 +0000 (13:33 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 11:12:13 +0000 (11:12 +0000)]
.
Jim Meyering [Sun, 10 Nov 2002 11:11:39 +0000 (11:11 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 10 Nov 2002 10:23:41 +0000 (10:23 +0000)]
(main): Also declare `i' to be unsigned, not int.
Jim Meyering [Sun, 10 Nov 2002 09:56:28 +0000 (09:56 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 10 Nov 2002 09:54:37 +0000 (09:54 +0000)]
(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.
Jim Meyering [Sun, 10 Nov 2002 09:51:37 +0000 (09:51 +0000)]
Use a return stmt. This isn't Perl.
Jim Meyering [Sun, 10 Nov 2002 09:50:59 +0000 (09:50 +0000)]
Duh. add missing semicolon
Include unistd.h.
Jim Meyering [Sun, 10 Nov 2002 09:46:14 +0000 (09:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 09:46:10 +0000 (09:46 +0000)]
(jm_MACROS): Add AC_REPLACE_FUNCS(raise).
Jim Meyering [Sun, 10 Nov 2002 09:44:05 +0000 (09:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 22:36:58 +0000 (22:36 +0000)]
correct indentation
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.
Jim Meyering [Sat, 9 Nov 2002 22:21:31 +0000 (22:21 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 22:01:56 +0000 (22:01 +0000)]
.
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.
Jim Meyering [Sat, 9 Nov 2002 19:53:46 +0000 (19:53 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 9 Nov 2002 16:40:00 +0000 (16:40 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 9 Nov 2002 12:39:42 +0000 (12:39 +0000)]
*** empty log message ***
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"
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'.
Jim Meyering [Sat, 9 Nov 2002 11:36:51 +0000 (11:36 +0000)]
.
Jim Meyering [Sat, 9 Nov 2002 11:34:57 +0000 (11:34 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 9 Nov 2002 00:34:25 +0000 (00:34 +0000)]
.
Jim Meyering [Sat, 9 Nov 2002 00:30:37 +0000 (00:30 +0000)]
*** empty log message ***
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.
Jim Meyering [Fri, 8 Nov 2002 23:20:38 +0000 (23:20 +0000)]
*** empty log message ***
Jim Meyering [Fri, 8 Nov 2002 22:59:57 +0000 (22:59 +0000)]
*** empty log message ***
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.
Jim Meyering [Fri, 8 Nov 2002 17:13:51 +0000 (17:13 +0000)]
use only my permanent address
Jim Meyering [Fri, 8 Nov 2002 17:12:51 +0000 (17:12 +0000)]
use only my permanent address
Jim Meyering [Fri, 8 Nov 2002 17:12:27 +0000 (17:12 +0000)]
Use only my permanent address.
Jim Meyering [Fri, 8 Nov 2002 15:33:58 +0000 (15:33 +0000)]
*** empty log message ***
Jim Meyering [Fri, 8 Nov 2002 15:33:30 +0000 (15:33 +0000)]
(human_readable): Avoid warnings from gcc -Wshadow.
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.
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.
Jim Meyering [Thu, 7 Nov 2002 00:29:24 +0000 (00:29 +0000)]
update from master
Jim Meyering [Thu, 7 Nov 2002 00:28:52 +0000 (00:28 +0000)]
update from master
Jim Meyering [Wed, 6 Nov 2002 16:27:45 +0000 (16:27 +0000)]
*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 16:27:39 +0000 (16:27 +0000)]
(automake_repo): Use anoncvs@subversions.gnu.org.
Jim Meyering [Wed, 6 Nov 2002 11:37:47 +0000 (11:37 +0000)]
.
Jim Meyering [Wed, 6 Nov 2002 11:37:15 +0000 (11:37 +0000)]
*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 11:37:11 +0000 (11:37 +0000)]
(EXTRA_DIST): Add inttostr.h.
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.
Jim Meyering [Wed, 6 Nov 2002 10:37:29 +0000 (10:37 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 6 Nov 2002 10:32:46 +0000 (10:32 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 6 Nov 2002 10:28:11 +0000 (10:28 +0000)]
*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 10:28:02 +0000 (10:28 +0000)]
(usage): Update description.
Jim Meyering [Wed, 6 Nov 2002 09:23:55 +0000 (09:23 +0000)]
*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 09:23:50 +0000 (09:23 +0000)]
(TESTS): Add printf-hex.
Jim Meyering [Wed, 6 Nov 2002 09:23:33 +0000 (09:23 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 6 Nov 2002 09:21:59 +0000 (09:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 6 Nov 2002 09:19:50 +0000 (09:19 +0000)]
Make sure that only two of the `H's in \xHHH are consumed
as part of the \x escape sequence.
Jim Meyering [Wed, 6 Nov 2002 09:04:50 +0000 (09:04 +0000)]
(print_esc): Hexadecimal \xhh escapes may have
at most two hex. digits, not three.
Jim Meyering [Tue, 5 Nov 2002 20:37:20 +0000 (20:37 +0000)]
(inttostr): Remove; use new imaxtostr library function instead.
Jim Meyering [Tue, 5 Nov 2002 20:34:00 +0000 (20:34 +0000)]
(checkfp): Use primitives from inttostr.h, not human.h,
to print large numbers simply.
Jim Meyering [Tue, 5 Nov 2002 20:33:35 +0000 (20:33 +0000)]
(bsd_sum_file, sysv_sym_file):
Use primitives from inttostr.h, not human.h, to print large numbers simply.
Jim Meyering [Tue, 5 Nov 2002 20:32:55 +0000 (20:32 +0000)]
(xlseek):
Use primitives from inttostr.h, not human.h, to print large numbers simply.
Jim Meyering [Tue, 5 Nov 2002 20:30:43 +0000 (20:30 +0000)]
(write_counts, wc):
Use primitives from inttostr.h, not human.h, to print large numbers simply.
Jim Meyering [Tue, 5 Nov 2002 20:28:36 +0000 (20:28 +0000)]
(dopass):
Use primitives from inttostr.h, not human.h, to print large numbers simply.
(OUTPUT_BLOCK_SIZE): remove.
(dopass): When printing progress, use floor for what has been done
so far (since we should be conservative there), and ceiling for
what needs to be done (since that's what other programs use).
Jim Meyering [Tue, 5 Nov 2002 20:17:28 +0000 (20:17 +0000)]
(print_factors):
Use primitives from inttostr.h, not human.h, to print large numbers simply.
Jim Meyering [Tue, 5 Nov 2002 20:16:31 +0000 (20:16 +0000)]
(print_stats, main):
Use primitives from inttostr.h, not human.h, to print large numbers simply.
Jim Meyering [Tue, 5 Nov 2002 20:14:41 +0000 (20:14 +0000)]
(handle_line_error, parse_patterns):
Use primitives from inttostr.h, not human.h, to print large numbers simply.