Jim Meyering [Sun, 23 Sep 2001 07:45:07 +0000 (07:45 +0000)]
.
Jim Meyering [Sun, 23 Sep 2001 07:44:08 +0000 (07:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Sep 2001 07:44:01 +0000 (07:44 +0000)]
(check-texinfo): Redirect stderr of `grep -w' to
/dev/null, so people with old versions of grep don't see the failure.
Jim Meyering [Sun, 23 Sep 2001 07:36:53 +0000 (07:36 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Sep 2001 06:59:57 +0000 (06:59 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 20:11:33 +0000 (20:11 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 20:10:44 +0000 (20:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 19:19:44 +0000 (19:19 +0000)]
Update from gettext cvs repository.
Jim Meyering [Sat, 22 Sep 2001 19:15:53 +0000 (19:15 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 16:45:36 +0000 (16:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 16:45:28 +0000 (16:45 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 16:41:44 +0000 (16:41 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 16:40:25 +0000 (16:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 16:40:17 +0000 (16:40 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 16:39:57 +0000 (16:39 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 16:38:35 +0000 (16:38 +0000)]
Upgrade to gettext-0.10.40.
Jim Meyering [Sat, 22 Sep 2001 16:34:51 +0000 (16:34 +0000)]
Sync with gettext -- this changes only comments.
Jim Meyering [Sat, 22 Sep 2001 16:34:30 +0000 (16:34 +0000)]
Sync with gettext -- this changes only comments.
Jim Meyering [Sat, 22 Sep 2001 15:18:47 +0000 (15:18 +0000)]
decrement serial number to sync with gettext
Jim Meyering [Sat, 22 Sep 2001 15:18:03 +0000 (15:18 +0000)]
decrement serial number to sync with gettext
Jim Meyering [Sat, 22 Sep 2001 15:17:26 +0000 (15:17 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 15:15:41 +0000 (15:15 +0000)]
Upgrade to gettext 0.10.39.
Jim Meyering [Sat, 22 Sep 2001 15:08:51 +0000 (15:08 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 15:08:35 +0000 (15:08 +0000)]
Update from latest gettext.
Jim Meyering [Sat, 22 Sep 2001 13:27:04 +0000 (13:27 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 13:18:57 +0000 (13:18 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 13:18:19 +0000 (13:18 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 13:18:04 +0000 (13:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 13:16:48 +0000 (13:16 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 13:16:21 +0000 (13:16 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 08:27:36 +0000 (08:27 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 08:27:27 +0000 (08:27 +0000)]
Mostly clean-up (modulo the better diagnostic).
(copy_internal): Rename parameter, move_mode, to
command_line_arg, and adjust caller. Now, move_mode is a local
that is derived from command_line_arg.
Factor some involved code to produce something slightly more readable.
Use x->move_mode, not move_mode in determining which diagnostic
to give (`backing up %s would destroy source; %s not moved').
Jim Meyering [Thu, 20 Sep 2001 15:04:07 +0000 (15:04 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 Sep 2001 14:46:55 +0000 (14:46 +0000)]
(strtoimax): Guard declaration with
`#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'.
The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0)
have their own, conflicting declaration of strtoimax in sys/inttypes.h.
(strtoumax): Likewise, for completeness (it wasn't necessary).
Jim Meyering [Thu, 20 Sep 2001 14:41:51 +0000 (14:41 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 Sep 2001 14:41:43 +0000 (14:41 +0000)]
(jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of strtoumax.
Jim Meyering [Thu, 20 Sep 2001 14:41:26 +0000 (14:41 +0000)]
(jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of strtoumax.
Jim Meyering [Thu, 20 Sep 2001 08:44:22 +0000 (08:44 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 Sep 2001 08:44:12 +0000 (08:44 +0000)]
(MAX_ADDRESS_LENGTH, pseudo_offset, format_address,
n_bytes_to_skip, skip, format_address_none,
format_address_std, format_address_paren,
format_address_label, write_block, parse_old_offset, dump,
dump_strings, main):
Use uintmax_t, not off_t, for file addresses, so that we can
handle multiple large files even if the sum of their sizes
exceeds off_t limits.
(print_s_char, print_char, print_s_short, print_short,
print_int, print_long, print_long_long, print_float,
print_double, print_long_double, dump_hexl_mode_trailer,
print_named_ascii, print_ascii, decode_one_format):
Use size_t, not off_t, for in-memory byte counts.
(end_offset): New var.
(dump, dump_strings): Use it.
(main): Set it, but check for overflow while doing so.
(skip): Report an error if an in-range lseek fails on a
regular file, as something's seriously wrong. Check for
negative regular file sizes (possible with some broken NFS
implementations).
(parse_old_offset): Now all offsets are valid, so return a
success boolean and take a pointer to an offset as an argument.
All callers changed.
(dump_strings): Check for overflow when computing end_offset -
string_min.
(main): Remove OFF_T_MAX checks that are no longer needed.
Don't bother assigning through temporary when there's no size
limit to check.
Jim Meyering [Wed, 19 Sep 2001 11:30:58 +0000 (11:30 +0000)]
.
Jim Meyering [Wed, 19 Sep 2001 10:52:03 +0000 (10:52 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Sep 2001 10:34:47 +0000 (10:34 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Sep 2001 10:28:09 +0000 (10:28 +0000)]
(open_next_file): Use SETVBUF, not setbuf.
(skip): Revert part of last change: use lseek, not fseek.
Jim Meyering [Wed, 19 Sep 2001 10:19:19 +0000 (10:19 +0000)]
When --read-bytes=N (-N N) is used, disable input buffering in
the standard I/O library. Otherwise, od would read more input
than requested. This could have caused problems when reading
from pipes, character devices, and open file descriptors inherited
from a parent process.
* src/od.c (open_next_file): New function, factored out of...
(skip): Adapt to use open_next_file.
(read_char): Likewise.
(read_block): Likewise.
(main): Likewise.
(dump): Fix an off-by-one error that could have made od fail to
report a read error when reading from a named file (not stdin).
(check_and_close): Account for the fact that in_stream may now be NULL.
(usage): Correct descriptions of -j and -N options.
Patch by Ian Bruce.
Jim Meyering [Mon, 17 Sep 2001 21:44:03 +0000 (21:44 +0000)]
Use AC_DEFINE rather than AC_DEFINE_UNQUOTED, whenever the right hand side need not be expanded by the shell.
Jim Meyering [Mon, 17 Sep 2001 21:43:41 +0000 (21:43 +0000)]
.
Jim Meyering [Mon, 17 Sep 2001 19:32:52 +0000 (19:32 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Sep 2001 19:32:45 +0000 (19:32 +0000)]
(jm_FUNC_FNMATCH): Remove test for GNU C
library. It's not correct, as some older glibcs are buggy.
fnmatch wasn't fixed until glibc 2.2.
Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
special shell magic here.
Jim Meyering [Mon, 17 Sep 2001 10:24:27 +0000 (10:24 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Sep 2001 10:24:20 +0000 (10:24 +0000)]
(HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
(strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base),
to work around bug in IBM C compiler.
Jim Meyering [Mon, 17 Sep 2001 10:21:08 +0000 (10:21 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Sep 2001 10:20:50 +0000 (10:20 +0000)]
(usage): Fix typo in -g usage.
-H now means --dereference-command-line.
Jim Meyering [Mon, 17 Sep 2001 10:11:42 +0000 (10:11 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Sep 2001 10:11:27 +0000 (10:11 +0000)]
(main): Change the `ignoring excess arguments' diagnostic
to list the first one we're ignoring. Suggestion from Karl Berry.
Jim Meyering [Sun, 16 Sep 2001 20:14:25 +0000 (20:14 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 20:11:36 +0000 (20:11 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 20:10:06 +0000 (20:10 +0000)]
(usage): Prefix each line with a space, so that
help2man produces a better stty.1 man page.
Jim Meyering [Sun, 16 Sep 2001 19:58:00 +0000 (19:58 +0000)]
(usage): Describe -h option.
From Michael Stone. http://bugs.debian.org/99272
Jim Meyering [Sun, 16 Sep 2001 19:55:07 +0000 (19:55 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 19:54:53 +0000 (19:54 +0000)]
Add note to help people understand that this documentation
may not refer to the (shell built-in) command they're running.
Jim Meyering [Sun, 16 Sep 2001 19:54:29 +0000 (19:54 +0000)]
Add note to help people understand this documentation
may not refer to the (shell built-in) command they're running.
Jim Meyering [Sun, 16 Sep 2001 19:49:47 +0000 (19:49 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 16:07:07 +0000 (16:07 +0000)]
tweak line in help output
Jim Meyering [Sun, 16 Sep 2001 15:52:41 +0000 (15:52 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 15:52:04 +0000 (15:52 +0000)]
(mv invocation): Describe new option: --reply={yes,no,query}. Fix a few typos.
Jim Meyering [Sun, 16 Sep 2001 15:30:48 +0000 (15:30 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 12:43:54 +0000 (12:43 +0000)]
.
Jim Meyering [Sun, 16 Sep 2001 12:43:33 +0000 (12:43 +0000)]
.
Jim Meyering [Sun, 16 Sep 2001 12:42:14 +0000 (12:42 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 12:32:26 +0000 (12:32 +0000)]
.
Jim Meyering [Sun, 16 Sep 2001 12:32:12 +0000 (12:32 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 12:32:07 +0000 (12:32 +0000)]
(UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
Jim Meyering [Sun, 16 Sep 2001 12:31:55 +0000 (12:31 +0000)]
(UTILS_FUNC_MKDIR_TRAILING_SLASH): Require it.
Jim Meyering [Sun, 16 Sep 2001 09:30:07 +0000 (09:30 +0000)]
.
Jim Meyering [Sun, 16 Sep 2001 09:28:42 +0000 (09:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 09:28:34 +0000 (09:28 +0000)]
(digest_check): On systems for which setmode actually
does something, arrange to read the file containing checksum strings
in text mode. Based on a patch from Chris Faylor.
Jim Meyering [Sun, 16 Sep 2001 09:27:58 +0000 (09:27 +0000)]
(SET_MODE): Define.
Jim Meyering [Sun, 16 Sep 2001 09:26:10 +0000 (09:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 09:23:42 +0000 (09:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 07:02:38 +0000 (07:02 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 07:02:26 +0000 (07:02 +0000)]
(uniq invocation): The input need not
be sorted. Try to clarify -d versus -D versus -u.
Jim Meyering [Sat, 15 Sep 2001 22:51:06 +0000 (22:51 +0000)]
.
Jim Meyering [Sat, 15 Sep 2001 22:50:05 +0000 (22:50 +0000)]
.
Jim Meyering [Sat, 15 Sep 2001 21:34:50 +0000 (21:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Sep 2001 21:34:44 +0000 (21:34 +0000)]
Check for help2man.
Jim Meyering [Sat, 15 Sep 2001 21:31:09 +0000 (21:31 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Sep 2001 18:46:23 +0000 (18:46 +0000)]
renamed from ginstall.x
Jim Meyering [Sat, 15 Sep 2001 17:08:27 +0000 (17:08 +0000)]
(TESTS): Add fail-diag.
Jim Meyering [Sat, 15 Sep 2001 17:07:54 +0000 (17:07 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Sep 2001 17:07:24 +0000 (17:07 +0000)]
(EISDIR): Define to 0, if not already defined.
(touch): Give a better diagnostic for e.g., `touch /' by non-root.
Based on a patch from Michael Stone.
Reported by Jeff Sheinberg as Debian bug #101677.
Jim Meyering [Sat, 15 Sep 2001 12:53:11 +0000 (12:53 +0000)]
.
Jim Meyering [Sat, 15 Sep 2001 12:52:55 +0000 (12:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Sep 2001 12:46:05 +0000 (12:46 +0000)]
(UNWRITABLE): Define (factored out of copy_internal).
(copy_internal): Use UNWRITABLE.
Jim Meyering [Sat, 15 Sep 2001 12:34:17 +0000 (12:34 +0000)]
(copy_internal) [move_mode]: Support the new
--reply=... option.
Jim Meyering [Sat, 15 Sep 2001 11:38:36 +0000 (11:38 +0000)]
Accept new option: --reply={yes,no,query}
Include argmatch.h.
(enum) [REPLY_OPTION]: Define.
(usage): Describe new option.
Split long usage string into smaller pieces.
(main): Handle new option.
Jim Meyering [Sat, 15 Sep 2001 11:21:23 +0000 (11:21 +0000)]
(main): Reflect renaming: s/I_ON/I_ASK_USER/.
Jim Meyering [Sat, 15 Sep 2001 11:20:47 +0000 (11:20 +0000)]
(enum Interactive): Remove members, I_OFF and I_ON.
Instead, add I_ALWAYS_YES, I_ALWAYS_NO, and I_ASK_USER.
Jim Meyering [Sat, 15 Sep 2001 11:18:51 +0000 (11:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Sep 2001 11:18:40 +0000 (11:18 +0000)]
Clean up: use priv-check rather than open-coding it.
Jim Meyering [Sat, 15 Sep 2001 11:16:12 +0000 (11:16 +0000)]
*** empty log message ***