platform/upstream/coreutils.git
26 years agoupdate from gettext-0.10.35
Jim Meyering [Sun, 3 May 1998 20:37:39 +0000 (20:37 +0000)]
update from gettext-0.10.35

26 years ago.
Jim Meyering [Sat, 2 May 1998 15:37:18 +0000 (15:37 +0000)]
.

26 years ago(check_format): Use ISDIGIT, not isdigit.
Jim Meyering [Sat, 2 May 1998 15:36:43 +0000 (15:36 +0000)]
(check_format): Use ISDIGIT, not isdigit.

26 years ago.
Jim Meyering [Sat, 2 May 1998 15:33:01 +0000 (15:33 +0000)]
.

26 years ago.
Jim Meyering [Sat, 2 May 1998 15:31:13 +0000 (15:31 +0000)]
.

26 years ago.
Jim Meyering [Sat, 2 May 1998 15:25:56 +0000 (15:25 +0000)]
.

26 years ago(parse_line): Use ISSPACE, not isspace.
Jim Meyering [Tue, 28 Apr 1998 13:09:47 +0000 (13:09 +0000)]
(parse_line): Use ISSPACE, not isspace.
Use unsigned char * pointers, not potentially signed ones, to avoid
sign extension.

26 years agotweak from FSF
Jim Meyering [Tue, 28 Apr 1998 12:19:53 +0000 (12:19 +0000)]
tweak from FSF

26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 16:09:46 +0000 (16:09 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 05:05:47 +0000 (05:05 +0000)]
.

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 05:04:54 +0000 (05:04 +0000)]
.

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 05:04:05 +0000 (05:04 +0000)]
.

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 05:03:43 +0000 (05:03 +0000)]
.

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 05:03:09 +0000 (05:03 +0000)]
.

26 years agoDisable test f-1, now that it fails.
Jim Meyering [Mon, 27 Apr 1998 05:02:56 +0000 (05:02 +0000)]
Disable test f-1, now that it fails.

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 05:01:43 +0000 (05:01 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 05:01:19 +0000 (05:01 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 05:00:00 +0000 (05:00 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 04:57:59 +0000 (04:57 +0000)]
*** empty log message ***

26 years agoadd 22b
Jim Meyering [Mon, 27 Apr 1998 04:53:31 +0000 (04:53 +0000)]
add 22b

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 04:41:41 +0000 (04:41 +0000)]
.

26 years agoRemove definition of _GNU_SOURCE
Jim Meyering [Mon, 27 Apr 1998 04:31:45 +0000 (04:31 +0000)]
Remove definition of _GNU_SOURCE

26 years ago(22a): Add test.
Jim Meyering [Mon, 27 Apr 1998 04:30:30 +0000 (04:30 +0000)]
(22a): Add test.

26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 04:29:36 +0000 (04:29 +0000)]
*** empty log message ***

26 years ago(keycompare): Don't return 0 from inside the keyspec-iterating loop.
Jim Meyering [Mon, 27 Apr 1998 04:29:05 +0000 (04:29 +0000)]
(keycompare): Don't return 0 from inside the keyspec-iterating loop.
With this change, test 22a passes.  Reported by Zvi Har'El.

26 years ago(strncoll): Remove bogus assertion.
Jim Meyering [Mon, 27 Apr 1998 03:50:17 +0000 (03:50 +0000)]
(strncoll): Remove bogus assertion.

26 years ago(EXTRA_DIST): Add assert.m4.
Jim Meyering [Sun, 26 Apr 1998 20:48:58 +0000 (20:48 +0000)]
(EXTRA_DIST): Add assert.m4.

26 years ago.
Jim Meyering [Sun, 26 Apr 1998 20:48:00 +0000 (20:48 +0000)]
.

26 years agoDon't define NDEBUG.
Jim Meyering [Sun, 26 Apr 1998 20:42:16 +0000 (20:42 +0000)]
Don't define NDEBUG.

26 years agoDon't define NDEBUG.
Jim Meyering [Sun, 26 Apr 1998 20:41:42 +0000 (20:41 +0000)]
Don't define NDEBUG.

26 years agoDo not define _GNU_SOURCE and/or NDEBUG
Jim Meyering [Sun, 26 Apr 1998 20:38:28 +0000 (20:38 +0000)]
Do not define _GNU_SOURCE and/or NDEBUG

26 years ago[struct File_spec] (pretty_name): Remove member.
Jim Meyering [Sun, 26 Apr 1998 20:09:26 +0000 (20:09 +0000)]
[struct File_spec] (pretty_name): Remove member.
(pretty_name): New function.

26 years ago*** empty log message ***
Jim Meyering [Sun, 26 Apr 1998 19:58:57 +0000 (19:58 +0000)]
*** empty log message ***

26 years agoRemove usage-like comments near beginning of file.
Jim Meyering [Sun, 26 Apr 1998 19:58:43 +0000 (19:58 +0000)]
Remove usage-like comments near beginning of file.

26 years ago(xwrite): New function -- converted from macro.
Jim Meyering [Sun, 26 Apr 1998 19:53:54 +0000 (19:53 +0000)]
(xwrite): New function -- converted from macro.

26 years ago(close_fd): New function -- converted from macro.
Jim Meyering [Sun, 26 Apr 1998 19:50:21 +0000 (19:50 +0000)]
(close_fd): New function -- converted from macro.
[struct File_spec] (n_stat_calls): New member.
[struct File_spec] (n_unchanged_stats): New member.
(max_n_unchanged_stats): New global.
Initialize new members.

26 years ago*** empty log message ***
Jim Meyering [Sun, 26 Apr 1998 15:28:20 +0000 (15:28 +0000)]
*** empty log message ***

26 years ago(md5_check): Declare local, `md5num' as _unsigned_ char*.
Jim Meyering [Sun, 26 Apr 1998 15:28:06 +0000 (15:28 +0000)]
(md5_check): Declare local, `md5num' as _unsigned_ char*.
(hex_digits): Declare parameter `s' as _unsigned_ char*.
(split_3): Declare parameter `u' as _unsigned_ char**.

26 years ago(print_nth_dir): Remove first (and always-true) part of conjunct in assertion.
Jim Meyering [Sun, 26 Apr 1998 05:14:50 +0000 (05:14 +0000)]
(print_nth_dir): Remove first (and always-true) part of conjunct in assertion.

26 years ago.
Jim Meyering [Fri, 17 Apr 1998 15:37:52 +0000 (15:37 +0000)]
.

26 years ago(xfields): Used unsigned char* pointers to avoid
Jim Meyering [Fri, 17 Apr 1998 15:37:29 +0000 (15:37 +0000)]
(xfields): Used unsigned char* pointers to avoid

26 years ago(check_punctuation): Used unsigned char* pointers to avoid
Jim Meyering [Fri, 17 Apr 1998 15:37:03 +0000 (15:37 +0000)]
(check_punctuation): Used unsigned char* pointers to avoid

26 years ago.
Jim Meyering [Fri, 17 Apr 1998 15:30:37 +0000 (15:30 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Tue, 14 Apr 1998 15:17:45 +0000 (15:17 +0000)]
*** empty log message ***

26 years agoUse STREQ in string equality tests, not strcmp.
Jim Meyering [Tue, 14 Apr 1998 15:17:32 +0000 (15:17 +0000)]
Use STREQ in string equality tests, not strcmp.

26 years ago(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Mon, 13 Apr 1998 16:29:58 +0000 (16:29 +0000)]
(noinst_HEADERS): Add safe-read.h.

26 years ago.
Jim Meyering [Mon, 13 Apr 1998 13:51:27 +0000 (13:51 +0000)]
.

26 years agoInclude safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sun, 12 Apr 1998 19:56:25 +0000 (19:56 +0000)]
Include safe-read.h instead of merely declaring safe_read.

26 years ago.
Jim Meyering [Sun, 12 Apr 1998 15:16:37 +0000 (15:16 +0000)]
.

26 years ago(TYPE_MAXIMUM): Update from system.h.
Jim Meyering [Sun, 12 Apr 1998 09:39:30 +0000 (09:39 +0000)]
(TYPE_MAXIMUM): Update from system.h.

26 years agoUse STREQ rather than strcmp
Jim Meyering [Sun, 12 Apr 1998 09:27:45 +0000 (09:27 +0000)]
Use STREQ rather than strcmp

26 years ago(wc): Declare per-file counters and `linepos' to be of type uintmax_t.
Jim Meyering [Sun, 12 Apr 1998 09:12:21 +0000 (09:12 +0000)]
(wc): Declare per-file counters and `linepos' to be of type uintmax_t.
Declare bytes_read to be ssize_t.

26 years agoInclude safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sat, 11 Apr 1998 18:24:09 +0000 (18:24 +0000)]
Include safe-read.h instead of merely declaring safe_read.

26 years agoInclude safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sat, 11 Apr 1998 18:23:13 +0000 (18:23 +0000)]
Include safe-read.h instead of merely declaring safe_read.

26 years ago[HAVE_INTTYPES_H]: Include inttypes.h.
Jim Meyering [Sat, 11 Apr 1998 18:21:24 +0000 (18:21 +0000)]
[HAVE_INTTYPES_H]: Include inttypes.h.
Declare counters to be of type uintmax_t.
(write_counts): Use human_readable to format potentially-long-long
numbers.  Suggestion from Rogier Wolff.

26 years ago(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Sat, 11 Apr 1998 17:53:09 +0000 (17:53 +0000)]
(noinst_HEADERS): Add safe-read.h.

26 years ago.
Jim Meyering [Sat, 11 Apr 1998 17:52:28 +0000 (17:52 +0000)]
.

26 years agosplit a couple long lines
Jim Meyering [Sat, 11 Apr 1998 15:37:35 +0000 (15:37 +0000)]
split a couple long lines

26 years agoAdd curly braces around statements in if/else/while/do/etc. that
Jim Meyering [Sat, 11 Apr 1998 15:35:06 +0000 (15:35 +0000)]
Add curly braces around statements in if/else/while/do/etc. that
span more than a line -- even around multiline simple statements or
single-line simple statements preceded by a comment line.

26 years ago.
Jim Meyering [Sat, 11 Apr 1998 15:05:20 +0000 (15:05 +0000)]
.

26 years ago.
Jim Meyering [Sat, 11 Apr 1998 15:04:39 +0000 (15:04 +0000)]
.

26 years agoimport version 2.231
Jim Meyering [Sat, 11 Apr 1998 15:03:51 +0000 (15:03 +0000)]
import version 2.231

26 years ago*** empty log message ***
Jim Meyering [Sat, 11 Apr 1998 09:24:28 +0000 (09:24 +0000)]
*** empty log message ***

26 years agoindent cpp directives
Jim Meyering [Thu, 9 Apr 1998 07:28:10 +0000 (07:28 +0000)]
indent cpp directives

26 years agomake there be two spaces after `.' in comments
Jim Meyering [Thu, 9 Apr 1998 07:22:52 +0000 (07:22 +0000)]
make there be two spaces after `.' in comments

26 years ago(cph_hash_insert): Rename from now-conflicting hash_insert.
Jim Meyering [Mon, 6 Apr 1998 08:15:29 +0000 (08:15 +0000)]
(cph_hash_insert): Rename from now-conflicting hash_insert.
Also declare to be static.

26 years ago(hash_insert): Remove declaration.
Jim Meyering [Mon, 6 Apr 1998 08:14:58 +0000 (08:14 +0000)]
(hash_insert): Remove declaration.

26 years agoChange names/usage of hash-related functions to work with the above.
Jim Meyering [Mon, 6 Apr 1998 08:11:35 +0000 (08:11 +0000)]
Change names/usage of hash-related functions to work with the above.

26 years agoLots of minor spec and name changes, and new comments.
Jim Meyering [Mon, 6 Apr 1998 08:09:36 +0000 (08:09 +0000)]
Lots of minor spec and name changes, and new comments.
From François Pinard.

26 years agoLots of minor spec and name changes, and new comments.
Jim Meyering [Mon, 6 Apr 1998 08:09:11 +0000 (08:09 +0000)]
Lots of minor spec and name changes, and new comments.
(hash_rehash): Rewritten to be easier on the allocator.
From François Pinard.

26 years ago*** empty log message ***
Jim Meyering [Mon, 6 Apr 1998 00:26:54 +0000 (00:26 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 23:44:12 +0000 (23:44 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sun, 5 Apr 1998 23:43:58 +0000 (23:43 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 21:35:33 +0000 (21:35 +0000)]
*** empty log message ***

26 years agoadd braces to disambiguate ambiguous else
Jim Meyering [Sun, 5 Apr 1998 21:32:26 +0000 (21:32 +0000)]
add braces to disambiguate ambiguous else

26 years ago.
Jim Meyering [Sun, 5 Apr 1998 18:24:45 +0000 (18:24 +0000)]
.

26 years ago(WIDE_CHAR_SUPPORT): Define.
Jim Meyering [Sun, 5 Apr 1998 18:24:18 +0000 (18:24 +0000)]
(WIDE_CHAR_SUPPORT): Define.
This now depends on HAVE_BTOWC so systems that lack btowc (like
solaris-2.5.1) don't lose.

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 18:22:30 +0000 (18:22 +0000)]
*** empty log message ***

26 years ago(jm_PREREQ_REGEX): New macro.
Jim Meyering [Sun, 5 Apr 1998 18:22:11 +0000 (18:22 +0000)]
(jm_PREREQ_REGEX): New macro.
(jm_PREREQ): Use it here.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 21:37:50 +0000 (21:37 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 18:17:10 +0000 (18:17 +0000)]
*** empty log message ***

26 years ago(PARAMS): Define.
Jim Meyering [Sat, 4 Apr 1998 18:16:51 +0000 (18:16 +0000)]
(PARAMS): Define.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 16:47:29 +0000 (16:47 +0000)]
.

26 years agoUse "%s", not device_name, as the format string, in case the
Jim Meyering [Sat, 4 Apr 1998 16:47:19 +0000 (16:47 +0000)]
Use "%s", not device_name, as the format string, in case the
latter contains `%'.

26 years agostty: document new --file/-F option
Jim Meyering [Sat, 4 Apr 1998 16:36:30 +0000 (16:36 +0000)]
stty: document new --file/-F option

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 16:28:11 +0000 (16:28 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 16:27:12 +0000 (16:27 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 16:20:15 +0000 (16:20 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 16:19:34 +0000 (16:19 +0000)]
.

26 years agoclean up comments
Jim Meyering [Sat, 4 Apr 1998 10:36:32 +0000 (10:36 +0000)]
clean up comments

26 years ago(valid_options): Parenthesize assignment in while expr.
Jim Meyering [Sat, 4 Apr 1998 09:38:47 +0000 (09:38 +0000)]
(valid_options): Parenthesize assignment in while expr.
(main): Remove dcl of unused `cp'.

26 years agoUse STREQ in place of strcmp everywhere.
Jim Meyering [Sat, 4 Apr 1998 09:30:39 +0000 (09:30 +0000)]
Use STREQ in place of strcmp everywhere.
(valid_options): Indent
(main): s/case 'f':/case 'F':/
Tweak error messages to make them consistent.
Remove #if-0'd block.
Move dcl of fdflags into scope where it's used.

26 years ago[1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>]
Jim Meyering [Sat, 4 Apr 1998 09:08:04 +0000 (09:08 +0000)]
[1998-03-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>]
(main): Fix broken options parsing that worked only
by serendipity (getopt_long_only already parsed short options; no
need to parse them again manually!).  Add support for the --file
option, which allows the user to specify the device whose line
settings are to be set.  This is necessary because POSIX ttys will
block waiting for carrier detect to go high if CLOCAL is not set,
unless the device is opened with the O_NONBLOCK flag.
Unfortunately, the shell doesn't use this flag, so users lose.
Opening the device in stty is the easist way to fix this.
(speeds): Add support for 230400 and 460800 line speeds, which are
supported by Linux.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 08:24:11 +0000 (08:24 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 08:11:22 +0000 (08:11 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 08:07:26 +0000 (08:07 +0000)]
.

26 years agoupdate comment
Jim Meyering [Sat, 4 Apr 1998 08:06:24 +0000 (08:06 +0000)]
update comment

26 years agoAdd conditionals so that running `make' in an
Jim Meyering [Sat, 4 Apr 1998 08:05:18 +0000 (08:05 +0000)]
Add conditionals so that running `make' in an
unconfigured source directory will get a reasonable diagnostic.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 08:03:48 +0000 (08:03 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 08:02:23 +0000 (08:02 +0000)]
*** empty log message ***