Jim Meyering [Sun, 10 Jan 1999 22:48:12 +0000 (22:48 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:47:37 +0000 (22:47 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:47:01 +0000 (22:47 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:45:03 +0000 (22:45 +0000)]
Use 3-arg form of AC_DEFINE instead of the
AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
comments in config.h.in are meaningful.
Jim Meyering [Sun, 10 Jan 1999 22:43:13 +0000 (22:43 +0000)]
bump serial#
Jim Meyering [Sun, 10 Jan 1999 22:42:57 +0000 (22:42 +0000)]
Require autoconf-2.13 here.
Jim Meyering [Sun, 10 Jan 1999 22:06:15 +0000 (22:06 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Jan 1999 14:57:07 +0000 (14:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Jan 1999 14:57:00 +0000 (14:57 +0000)]
By default, don't use the included regex.c on systems
with glibc 2. Suggestion from Uli Drepper.
Jim Meyering [Sat, 9 Jan 1999 21:20:02 +0000 (21:20 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Jan 1999 16:25:02 +0000 (16:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Jan 1999 16:21:40 +0000 (16:21 +0000)]
declare `match'
Jim Meyering [Sat, 9 Jan 1999 16:16:18 +0000 (16:16 +0000)]
New option: --all-repeated (-D).
(output_all_repeated) [output_mode]: New enum value.
(usage): Describe it.
(writeline): Test for new mode.
(check_file): Likewise.
Based on patches from Jochen Hein and Florin Iucha.
(main): Diagnose `too many arguments'.
Jim Meyering [Sat, 9 Jan 1999 16:15:32 +0000 (16:15 +0000)]
Add tests from Jochen Hein.
Jim Meyering [Sat, 9 Jan 1999 15:44:27 +0000 (15:44 +0000)]
(null-1): Add test from Jochen Hein.
Jim Meyering [Sat, 9 Jan 1999 14:21:32 +0000 (14:21 +0000)]
s/max_n_consecutive_size_changes/max_n_consecutive_size_changes_between_opens/
Jim Meyering [Sat, 9 Jan 1999 14:19:40 +0000 (14:19 +0000)]
(parse_obsolescent_option): Interpret `number' as decimal.
(parse_options): Likewise.
Reported by Kamal Paul Nigam.
New option: --max-unchanged-stats=N.
New option: --max-n-consecutive-size-changes=N.
Jim Meyering [Thu, 7 Jan 1999 03:43:01 +0000 (03:43 +0000)]
protoize
Jim Meyering [Wed, 6 Jan 1999 16:09:14 +0000 (16:09 +0000)]
import latest
Jim Meyering [Tue, 5 Jan 1999 17:51:51 +0000 (17:51 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Jan 1999 05:10:14 +0000 (05:10 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Jan 1999 05:09:52 +0000 (05:09 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Jan 1999 04:38:35 +0000 (04:38 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Jan 1999 04:29:34 +0000 (04:29 +0000)]
.
Jim Meyering [Tue, 5 Jan 1999 04:29:16 +0000 (04:29 +0000)]
*** empty log message ***
Jim Meyering [Mon, 4 Jan 1999 20:16:31 +0000 (20:16 +0000)]
(main): remove unused `i'
Jim Meyering [Mon, 4 Jan 1999 20:14:26 +0000 (20:14 +0000)]
remove strcasecmp.cin
Jim Meyering [Mon, 4 Jan 1999 20:09:28 +0000 (20:09 +0000)]
*** empty log message ***
Jim Meyering [Sun, 3 Jan 1999 15:47:46 +0000 (15:47 +0000)]
*** empty log message ***
Jim Meyering [Sun, 3 Jan 1999 15:47:38 +0000 (15:47 +0000)]
(usage): Remove third program_name argument -- there
were only two `%s' in the format string.
Jim Meyering [Sat, 2 Jan 1999 20:38:45 +0000 (20:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 20:35:06 +0000 (20:35 +0000)]
(argmatch_invalid): Remove double quotes from the
offending quoted argument before using it in explanatory diagnostic.
Use a single fprintf stmt.
Jim Meyering [Sat, 2 Jan 1999 20:07:41 +0000 (20:07 +0000)]
.
Jim Meyering [Sat, 2 Jan 1999 20:07:04 +0000 (20:07 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 20:06:59 +0000 (20:06 +0000)]
Replace strcasecmp and strncasecmp.
Jim Meyering [Sat, 2 Jan 1999 19:38:36 +0000 (19:38 +0000)]
.
Jim Meyering [Sat, 2 Jan 1999 19:38:05 +0000 (19:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 19:37:56 +0000 (19:37 +0000)]
(tsort): Use a single call to error instead of two to fprintf.
(main): Remove `%s: ' prefix on format string.
Jim Meyering [Sat, 2 Jan 1999 19:35:46 +0000 (19:35 +0000)]
(parse_options): Use XARGMATCH in place of argmatch.
Jim Meyering [Sat, 2 Jan 1999 19:35:18 +0000 (19:35 +0000)]
(format_vals): New array.
(main): Use XARGMATCH in place of argmatch.
Jim Meyering [Sat, 2 Jan 1999 19:33:33 +0000 (19:33 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 19:32:14 +0000 (19:32 +0000)]
tsort docs
Jim Meyering [Sat, 2 Jan 1999 19:31:19 +0000 (19:31 +0000)]
(strcasecmp.c strncasecmp.c): Remove rules.
Jim Meyering [Sat, 2 Jan 1999 19:30:32 +0000 (19:30 +0000)]
.
Jim Meyering [Sat, 2 Jan 1999 19:30:05 +0000 (19:30 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 19:29:47 +0000 (19:29 +0000)]
Adapt to use new interface to XARGMATCH.
Jim Meyering [Sat, 2 Jan 1999 19:28:42 +0000 (19:28 +0000)]
.
Jim Meyering [Sat, 2 Jan 1999 19:28:31 +0000 (19:28 +0000)]
(get_version): Adapt to use new interface to XARGMATCH.
Jim Meyering [Sat, 2 Jan 1999 18:33:08 +0000 (18:33 +0000)]
(XARGMATCH): Don't return a value; instead, modify a parameter.
Add a `Die_stmt' parameter.
Add parentheses.
Jim Meyering [Sat, 2 Jan 1999 18:32:50 +0000 (18:32 +0000)]
(__xargmatch_internal): Remove now-unused function.
(argmatch_to_argument): Add `const' attribute to first parameter.
Jim Meyering [Sat, 2 Jan 1999 16:36:25 +0000 (16:36 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 16:35:55 +0000 (16:35 +0000)]
use XARGMATCH, not XARGCASEMATCH
Jim Meyering [Sat, 2 Jan 1999 15:55:52 +0000 (15:55 +0000)]
Add #ifdefs so it can be used for strncasecmp, too.
Jim Meyering [Sat, 2 Jan 1999 15:55:44 +0000 (15:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 12:45:50 +0000 (12:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 05:54:07 +0000 (05:54 +0000)]
Move inclusion of assert.h to follow that of stdio.h.
Some losing systems require this.
Use STREQ macro instead of strcmp in a few places.
Jim Meyering [Sat, 2 Jan 1999 05:30:07 +0000 (05:30 +0000)]
Remove definition of setlocale.
Remove definitions of bindtextdomain and textdomain.
Jim Meyering [Sat, 2 Jan 1999 05:27:32 +0000 (05:27 +0000)]
Include locale.h and libintl.h, and define `_()'.
Mark translatable strings.
Jim Meyering [Sat, 2 Jan 1999 05:17:17 +0000 (05:17 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 05:16:57 +0000 (05:16 +0000)]
(make_dir): New function, factored out of make_path.
(make_path): Use make_dir rather than open-coding it twice.
This effectively reverses the order of the latter pair of stat/mkdir
calls and fixes a race condition bug whereby one of two concurrent
`mkdir -p' processes could fail with EEXIST.
Jim Meyering [Sat, 2 Jan 1999 02:34:47 +0000 (02:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 02:34:11 +0000 (02:34 +0000)]
Include readtokens.h.
(zeros): Rename global from `rr'.
(getstr): Remove function.
(tsort) Use readtoken instead of getstr.
Jim Meyering [Fri, 1 Jan 1999 23:48:23 +0000 (23:48 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 23:46:52 +0000 (23:46 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 23:31:36 +0000 (23:31 +0000)]
.
Jim Meyering [Fri, 1 Jan 1999 22:55:53 +0000 (22:55 +0000)]
fix typo in comment
Jim Meyering [Fri, 1 Jan 1999 22:51:58 +0000 (22:51 +0000)]
(PATH_MAX_IN_DIR) [HAVE_UNISTD_H]: New macro, for max
file name characters in a given directory.
(tempname): Make sure the temp file name is unique even if long
file names aren't supported.
Jim Meyering [Fri, 1 Jan 1999 22:49:44 +0000 (22:49 +0000)]
(cwrite) [O_BINARY]: Write output in binary mode.
(main) [O_BINARY]: Read input in binary mode.
Jim Meyering [Fri, 1 Jan 1999 22:48:51 +0000 (22:48 +0000)]
(bsd_sum_file, sysv_sum_file) [O_BINARY]: Read input in binary mode.
Jim Meyering [Fri, 1 Jan 1999 22:48:03 +0000 (22:48 +0000)]
(tail_lines, tail_bytes) [O_BINARY]: Use binary I/O when appropriate.
Jim Meyering [Fri, 1 Jan 1999 22:44:21 +0000 (22:44 +0000)]
Add comments about peculiarities of Textutils operation on MS-DOS/MS-Windows.
Jim Meyering [Fri, 1 Jan 1999 22:42:36 +0000 (22:42 +0000)]
(wc): Use binary mode for input.
Jim Meyering [Fri, 1 Jan 1999 22:41:58 +0000 (22:41 +0000)]
(unexpand): Use binary I/O where appropriate.
Jim Meyering [Fri, 1 Jan 1999 22:40:48 +0000 (22:40 +0000)]
(main) [O_BINARY]: Use binary I/O when appropriate.
Jim Meyering [Fri, 1 Jan 1999 22:33:15 +0000 (22:33 +0000)]
(skip, read_char, read_block) [O_BINARY]: Switch input
stream to binary mode.
Jim Meyering [Fri, 1 Jan 1999 22:29:32 +0000 (22:29 +0000)]
(OPENOPTS) [O_BINARY]: Use binary I/O when non-zero argument.
(md5_file) [O_BINARY]: Switch redirected stdin to binary mode.
(main) [O_BINARY]: Use binary reads by default on those systems
which care about the difference.
Jim Meyering [Fri, 1 Jan 1999 22:28:40 +0000 (22:28 +0000)]
(head_bytes, head_lines) [O_BINARY]: Use binary I/O.
Jim Meyering [Fri, 1 Jan 1999 22:27:36 +0000 (22:27 +0000)]
(expand): Use binary I/O where appropriate.
Jim Meyering [Fri, 1 Jan 1999 22:22:02 +0000 (22:22 +0000)]
(cksum) [O_BINARY]: Read redirected stdin in binary mode.
Jim Meyering [Fri, 1 Jan 1999 22:20:23 +0000 (22:20 +0000)]
(usage) [O_BINARY]: Describe -B,--binary option.
(main) [O_BINARY]: binary_files, binary_output, file_open_mode:
new variables. Add --binary to long_options[]. Switch stdin and
stdout to binary mode unless file contents are not important
anyway. Open files in binary mode when required.
Jim Meyering [Fri, 1 Jan 1999 22:11:50 +0000 (22:11 +0000)]
.
Jim Meyering [Fri, 1 Jan 1999 21:56:21 +0000 (21:56 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 21:47:08 +0000 (21:47 +0000)]
(parse_options): Use XARGCASEMATCH in place of argmatch.
Jim Meyering [Fri, 1 Jan 1999 19:31:43 +0000 (19:31 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 19:30:08 +0000 (19:30 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 19:29:31 +0000 (19:29 +0000)]
Rename globals N and R so they don't shadow locals.
(tsort): Rename from `sort'.
Jim Meyering [Fri, 1 Jan 1999 19:05:47 +0000 (19:05 +0000)]
remove trailing blanks
Jim Meyering [Fri, 1 Jan 1999 19:05:05 +0000 (19:05 +0000)]
from Mark Kettenis
Jim Meyering [Fri, 1 Jan 1999 17:43:50 +0000 (17:43 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 17:43:10 +0000 (17:43 +0000)]
(quoting_style_vals): New public array.
Jim Meyering [Fri, 1 Jan 1999 17:40:08 +0000 (17:40 +0000)]
Add comments.
(xcalloc, xmalloc, xrealloc): Remove prototypes.
(calloc): Remove `#ifdef NOT_USED' that used to hide this function.
Jim Meyering [Fri, 1 Jan 1999 17:36:43 +0000 (17:36 +0000)]
Add comments.
(PARAMS, XMALLOC, XCALLOC, XREALLOC): Define.
Based on changes from Akim Demaille.
Jim Meyering [Fri, 1 Jan 1999 17:34:18 +0000 (17:34 +0000)]
remove leading _ from _ARGMATCH_H_
Jim Meyering [Fri, 1 Jan 1999 07:10:00 +0000 (07:10 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 07:09:08 +0000 (07:09 +0000)]
.
Jim Meyering [Fri, 1 Jan 1999 07:08:54 +0000 (07:08 +0000)]
.
Jim Meyering [Fri, 1 Jan 1999 07:06:23 +0000 (07:06 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 07:03:16 +0000 (07:03 +0000)]
(quotearg_n_options): Make `options' parameter be `const'.
Jim Meyering [Fri, 1 Jan 1999 07:02:16 +0000 (07:02 +0000)]
(quotearg_buffer): Cast -1 to size_t before comparing.
(quotearg_n): Change type of 1st parameter from int to unsigned int.
(quotearg_n_options): Likewise.
From Akim Demaille.
Jim Meyering [Fri, 1 Jan 1999 06:47:04 +0000 (06:47 +0000)]
(humblock): Use ARGMATCH in place of argmatch.