platform/upstream/coreutils.git
28 years agoUpdate from gettext-0.10.16.
Jim Meyering [Fri, 7 Jun 1996 02:59:01 +0000 (02:59 +0000)]
Update from gettext-0.10.16.

28 years ago.
Jim Meyering [Thu, 6 Jun 1996 03:54:38 +0000 (03:54 +0000)]
.

28 years ago.
Jim Meyering [Sun, 2 Jun 1996 04:49:35 +0000 (04:49 +0000)]
.

28 years agoRename MO_ to SHELLTYPE_.
Jim Meyering [Sun, 2 Jun 1996 02:58:05 +0000 (02:58 +0000)]
Rename MO_ to SHELLTYPE_.

28 years agoDeclare pointer parameters const as appropriate.
Jim Meyering [Sun, 2 Jun 1996 02:52:37 +0000 (02:52 +0000)]
Declare pointer parameters const as appropriate.

28 years ago.
Jim Meyering [Sat, 1 Jun 1996 23:08:53 +0000 (23:08 +0000)]
.

28 years ago(decode_switches): Set print_with_color in one statement.
Jim Meyering [Sat, 1 Jun 1996 23:08:35 +0000 (23:08 +0000)]
(decode_switches): Set print_with_color in one statement.

28 years agoRename options and internal variables to reflect change to
Jim Meyering [Sat, 1 Jun 1996 18:36:19 +0000 (18:36 +0000)]
Rename options and internal variables to reflect change to
--color=WHEN where WHEN is never, always, or auto (for consistency
with e.g. cp --sparse=WHEN.  For at least a while, the original
slackware-supported arguments `none', `force', `yes', etc will be
supported but deprecated by lack of documentation.
(decode_switches): Use STDOUT_FILENO instead of `1' in is_tty test.
(usage): Update/add description of the --color option.

28 years ago. TEXTUTILS-1_17
Jim Meyering [Sat, 1 Jun 1996 03:21:53 +0000 (03:21 +0000)]
.

28 years ago.
Jim Meyering [Sat, 1 Jun 1996 03:19:25 +0000 (03:19 +0000)]
.

28 years ago.
Jim Meyering [Sat, 1 Jun 1996 03:06:06 +0000 (03:06 +0000)]
.

28 years ago. TEXTUTILS-1_16
Jim Meyering [Fri, 31 May 1996 03:45:49 +0000 (03:45 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:45:31 +0000 (03:45 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:45:16 +0000 (03:45 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:44:15 +0000 (03:44 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:42:11 +0000 (03:42 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:36:22 +0000 (03:36 +0000)]
.

28 years ago(main): Interpret the old-style +VALUE and -VALUE
Jim Meyering [Fri, 31 May 1996 03:35:32 +0000 (03:35 +0000)]
(main): Interpret the old-style +VALUE and -VALUE
options like -c VALUE and -c +VALUE (resp) when VALUE has one of
the [bkm] suffix multipliers.  This makes the code consistent
with --help output.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:08:07 +0000 (03:08 +0000)]
.

28 years ago(limfield): #ifdef-out a block of code that makes
Jim Meyering [Fri, 31 May 1996 03:07:45 +0000 (03:07 +0000)]
(limfield): #ifdef-out a block of code that makes
GNU sort incompatible with Unix sort when a key-end spec refers
to the N'th character in a field that has fewer than N characters.
The POSIX spec doesn't appear to specify behavior for this case.
From Karl Heuer.

28 years ago.
Jim Meyering [Fri, 31 May 1996 02:36:34 +0000 (02:36 +0000)]
.

28 years ago(.po.mo): Reenable dependency and rule.
Jim Meyering [Fri, 31 May 1996 02:35:59 +0000 (02:35 +0000)]
(.po.mo): Reenable dependency and rule.
It is required when using native NLS, e.g. on Solaris.
From Marcus Daniels.

28 years ago($(PACKAGE).pot): Depend on POTFILES only when using maintainer mode.
Jim Meyering [Fri, 31 May 1996 02:26:23 +0000 (02:26 +0000)]
($(PACKAGE).pot): Depend on POTFILES only when using maintainer mode.
Reported by Karl Heuer.

28 years ago(stamp-cat-id): Avoid using temp filename longer than 14 characters.
Jim Meyering [Fri, 31 May 1996 00:58:51 +0000 (00:58 +0000)]
(stamp-cat-id): Avoid using temp filename longer than 14 characters.
(mostlyclean): Likewise.
From Karl Heuer.

28 years ago(decode_one_format): Use %lu (not %d) printf formats
Jim Meyering [Fri, 31 May 1996 00:51:48 +0000 (00:51 +0000)]
(decode_one_format): Use %lu (not %d) printf formats
corresponding to unsigned long, SIZE.

28 years ago.
Jim Meyering [Fri, 31 May 1996 00:51:23 +0000 (00:51 +0000)]
.

28 years ago. TEXTUTILS-1_15
Jim Meyering [Thu, 30 May 1996 06:34:25 +0000 (06:34 +0000)]
.

28 years ago(installcheck): New target.
Jim Meyering [Thu, 30 May 1996 06:34:16 +0000 (06:34 +0000)]
(installcheck): New target.

28 years ago.
Jim Meyering [Thu, 30 May 1996 05:23:02 +0000 (05:23 +0000)]
.

28 years ago(decode_one_format): Take another parameter.
Jim Meyering [Thu, 30 May 1996 05:09:56 +0000 (05:09 +0000)]
(decode_one_format): Take another parameter.
Give a specific diagnostic for invalid format spec here rather
than an overly general one from caller's caller.
(decode_format_string): Update caller.
(main): Don't give diagnostic here when decode_format_string fails.
Remove assertions that could fail on some Crays because they don't
have a two-byte type.
Johan Danielsson (joda@pdc.kth.se) reported the failed assertions.

28 years ago.
Jim Meyering [Thu, 30 May 1996 05:09:31 +0000 (05:09 +0000)]
.

28 years ago.
Jim Meyering [Thu, 30 May 1996 02:32:19 +0000 (02:32 +0000)]
.

28 years ago(docolon): Give a warning when the first character
Jim Meyering [Thu, 30 May 1996 02:32:03 +0000 (02:32 +0000)]
(docolon): Give a warning when the first character
of the basic regular expression is `^'.

28 years ago.
Jim Meyering [Thu, 30 May 1996 02:31:45 +0000 (02:31 +0000)]
.

28 years ago(main): Use STDIN_FILENO instead of less portable fileno (stdin).
Jim Meyering [Thu, 30 May 1996 00:59:50 +0000 (00:59 +0000)]
(main): Use STDIN_FILENO instead of less portable fileno (stdin).

28 years ago.
Jim Meyering [Wed, 29 May 1996 04:46:00 +0000 (04:46 +0000)]
.

28 years ago.
Jim Meyering [Tue, 28 May 1996 23:42:01 +0000 (23:42 +0000)]
.

28 years ago.
Jim Meyering [Tue, 28 May 1996 23:41:11 +0000 (23:41 +0000)]
.

28 years ago(main): Don't mark "%s" as a translatable string.
Jim Meyering [Tue, 28 May 1996 23:40:11 +0000 (23:40 +0000)]
(main): Don't mark "%s" as a translatable string.
From Göran Uddeborg.

28 years ago(print_stats): Don't mark "%u %s" as a translatable string.
Jim Meyering [Tue, 28 May 1996 23:39:12 +0000 (23:39 +0000)]
(print_stats): Don't mark "%u %s" as a translatable string.
From Göran Uddeborg (gvran@uddeborg.pp.se).

28 years ago(main): Use STDIN_FILENO and STDOUT_FILENO instead of less portable fileno(*).
Jim Meyering [Tue, 28 May 1996 01:42:07 +0000 (01:42 +0000)]
(main): Use STDIN_FILENO and STDOUT_FILENO instead of less portable fileno(*).

28 years agoHack out broken WEAK junk. TEXTUTILS-1_14e
Jim Meyering [Fri, 24 May 1996 03:06:01 +0000 (03:06 +0000)]
Hack out broken WEAK junk.

28 years agoDefine __P.
Jim Meyering [Fri, 24 May 1996 02:45:38 +0000 (02:45 +0000)]
Define __P.

28 years ago.
Jim Meyering [Thu, 23 May 1996 13:14:11 +0000 (13:14 +0000)]
.

28 years agoFIXME: fill this in
Jim Meyering [Thu, 23 May 1996 13:13:35 +0000 (13:13 +0000)]
FIXME: fill this in

28 years ago.
Jim Meyering [Thu, 23 May 1996 13:05:04 +0000 (13:05 +0000)]
.

28 years ago(read_filesystem_list) [MOUNTED_LISTMNTENT]: New function.
Jim Meyering [Thu, 23 May 1996 13:04:41 +0000 (13:04 +0000)]
(read_filesystem_list) [MOUNTED_LISTMNTENT]: New function.
From Johan Danielsson (joda@pdc.kth.se).

28 years ago[_CRAY]: Don't include sys/filsys.h because although
Jim Meyering [Thu, 23 May 1996 13:04:03 +0000 (13:04 +0000)]
[_CRAY]: Don't include sys/filsys.h because although
Unicos-9 has it, it's not needed and would cause other problems
because it requires inclusion of other, non-standard headers.

28 years ago(usage): Make --literal (-N) description clearer.
Jim Meyering [Thu, 23 May 1996 12:52:54 +0000 (12:52 +0000)]
(usage): Make --literal (-N) description clearer.

28 years agoAdd copyright header.
Jim Meyering [Wed, 22 May 1996 12:37:29 +0000 (12:37 +0000)]
Add copyright header.

28 years agoUpdate from GNU libc-copies.
Jim Meyering [Wed, 22 May 1996 12:37:11 +0000 (12:37 +0000)]
Update from GNU libc-copies.

28 years ago.
Jim Meyering [Wed, 22 May 1996 12:07:38 +0000 (12:07 +0000)]
.

28 years ago.
Jim Meyering [Wed, 22 May 1996 12:03:18 +0000 (12:03 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 12:15:50 +0000 (12:15 +0000)]
.

28 years ago(euidaccess) [!S_IROTH]: Define.
Jim Meyering [Tue, 21 May 1996 12:15:27 +0000 (12:15 +0000)]
(euidaccess) [!S_IROTH]: Define.
[!S_IWOTH]: Define.
[!S_IXOTH]: Define.
Marcus Daniels <marcus@sysc.pdx.edu> reported that m68k NEXTSTEP 3.2
doesn't define S_IROTH or S_IWOTH unless some posix compile option
is used and associated symbols defined.

28 years ago(xgetgroups): New function, factored out of
Jim Meyering [Tue, 21 May 1996 04:19:02 +0000 (04:19 +0000)]
(xgetgroups): New function, factored out of
print_group_list and print_full_info.
(print_group_list): Call it.
(print_full_info): Call it.

From Andreas Schwab:
(print_group_list): When USERNAME is specified use
getugroups to get the number of groups.
(print_full_info): Likewise.

28 years ago.
Jim Meyering [Tue, 21 May 1996 04:13:19 +0000 (04:13 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 04:12:36 +0000 (04:12 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 04:11:45 +0000 (04:11 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 03:58:12 +0000 (03:58 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 03:57:51 +0000 (03:57 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 03:57:21 +0000 (03:57 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 03:52:57 +0000 (03:52 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 03:40:45 +0000 (03:40 +0000)]
.

28 years ago.
Jim Meyering [Tue, 21 May 1996 02:56:29 +0000 (02:56 +0000)]
.

28 years ago.
Jim Meyering [Mon, 20 May 1996 04:31:49 +0000 (04:31 +0000)]
.

28 years ago.
Jim Meyering [Mon, 20 May 1996 02:46:30 +0000 (02:46 +0000)]
.

28 years ago(usage): Make it a little clearer.
Jim Meyering [Mon, 20 May 1996 02:46:22 +0000 (02:46 +0000)]
(usage): Make it a little clearer.

28 years agoTweak indentation.
Jim Meyering [Sun, 19 May 1996 20:25:28 +0000 (20:25 +0000)]
Tweak indentation.

28 years ago.
Jim Meyering [Sun, 19 May 1996 19:46:25 +0000 (19:46 +0000)]
.

28 years ago.
Jim Meyering [Sun, 19 May 1996 18:15:59 +0000 (18:15 +0000)]
.

28 years ago.
Jim Meyering [Sun, 19 May 1996 18:10:22 +0000 (18:10 +0000)]
.

28 years ago.
Jim Meyering [Sun, 19 May 1996 17:14:19 +0000 (17:14 +0000)]
.

28 years ago.
Jim Meyering [Sun, 19 May 1996 17:13:58 +0000 (17:13 +0000)]
.

28 years agoNew option: --no-dereference (-h).
Jim Meyering [Sun, 19 May 1996 17:13:36 +0000 (17:13 +0000)]
New option: --no-dereference (-h).
[!MAXUID]: Define to INT_MAX.
(change_file_group): Use lchown if --no-dereference (-h) was given.
(usage): Update.
(main): Fail if user requests --no-dereference on a system that
doesn't have support for it.

28 years agoNew option: --no-dereference (-h).
Jim Meyering [Sun, 19 May 1996 14:36:09 +0000 (14:36 +0000)]
New option: --no-dereference (-h).
(change_file_owner): Use lchown if --no-dereference (-h) was given.
(usage): Update.
(main): Fail if user requests --no-dereference on a system that
doesn't have support for it.

28 years ago.
Jim Meyering [Sat, 18 May 1996 19:35:36 +0000 (19:35 +0000)]
.

28 years ago.
Jim Meyering [Sat, 18 May 1996 19:29:22 +0000 (19:29 +0000)]
.

28 years ago(main): Don't recognize --help, --h, --he, --version, --v, etc.
Jim Meyering [Sat, 18 May 1996 18:37:11 +0000 (18:37 +0000)]
(main): Don't recognize --help, --h, --he, --version, --v, etc.
if the POSIXLY_CORRECT environment variable is set.

28 years ago(main): Don't recognize --help, --h, --he, --version, --v, etc.
Jim Meyering [Sat, 18 May 1996 18:36:36 +0000 (18:36 +0000)]
(main): Don't recognize --help, --h, --he, --version, --v, etc.
if the POSIXLY_CORRECT environment variable is set.

28 years ago(main): Don't recognize --help, --h, --he, --version, --v, etc.
Jim Meyering [Sat, 18 May 1996 18:36:10 +0000 (18:36 +0000)]
(main): Don't recognize --help, --h, --he, --version, --v, etc.
if the POSIXLY_CORRECT environment variable is set.
(docolon) [RE_SYNTAX_POSIX_BASIC]: Revert my misguided change of Mar 1.

28 years ago.
Jim Meyering [Fri, 17 May 1996 03:19:01 +0000 (03:19 +0000)]
.

28 years agoUpdate prototype to match.
Jim Meyering [Fri, 17 May 1996 03:16:54 +0000 (03:16 +0000)]
Update prototype to match.

28 years ago(get_fs_usage): Declare parameter PATH to be const.
Jim Meyering [Fri, 17 May 1996 03:16:34 +0000 (03:16 +0000)]
(get_fs_usage): Declare parameter PATH to be const.

28 years ago.
Jim Meyering [Fri, 17 May 1996 03:16:21 +0000 (03:16 +0000)]
.

28 years agoRearrange function definitions to precede respective uses to obviate
Jim Meyering [Thu, 16 May 1996 05:00:12 +0000 (05:00 +0000)]
Rearrange function definitions to precede respective uses to obviate
all forward dcls. Remove forward dcls.
Declare parameters const as appropriate.

28 years ago.
Jim Meyering [Thu, 16 May 1996 04:59:49 +0000 (04:59 +0000)]
.

28 years ago.
Jim Meyering [Thu, 16 May 1996 04:44:39 +0000 (04:44 +0000)]
.

28 years ago.
Jim Meyering [Thu, 16 May 1996 04:31:54 +0000 (04:31 +0000)]
.

28 years ago(selected_fstype): Move definition to precede use.
Jim Meyering [Thu, 16 May 1996 04:31:45 +0000 (04:31 +0000)]
(selected_fstype): Move definition to precede use.
Remove prototype.  Declare parameter FSTYPE to be const.
(excluded_fstype): Likewise.
(main): Fail with a diagnostic if both --human-readable and
--portability are used.
Likewise if --megabytes and --portability are used.

28 years ago(do_link): Declare pointer parameters to be const.
Jim Meyering [Thu, 16 May 1996 04:13:52 +0000 (04:13 +0000)]
(do_link): Declare pointer parameters to be const.

28 years ago.
Jim Meyering [Thu, 16 May 1996 04:02:10 +0000 (04:02 +0000)]
.

28 years ago(getdate.c): Disable dependencies that can
Jim Meyering [Thu, 16 May 1996 04:01:39 +0000 (04:01 +0000)]
(getdate.c): Disable dependencies that can
require rerunning YACC when not in maintainer mode.
(posixtm.c): Likewise.

28 years agoUpdate prototypes.
Jim Meyering [Thu, 16 May 1996 03:58:44 +0000 (03:58 +0000)]
Update prototypes.

28 years ago(mode_compile): Declare parameter MODE_STRING const.
Jim Meyering [Thu, 16 May 1996 03:57:49 +0000 (03:57 +0000)]
(mode_compile): Declare parameter MODE_STRING const.
Remove register attribute.
(mode_adjust): Likewise for CHANGES.

28 years ago(describe_change): Declare pointer parameters to be const.
Jim Meyering [Thu, 16 May 1996 03:55:44 +0000 (03:55 +0000)]
(describe_change): Declare pointer parameters to be const.
(change_file_mode): Likewise.
(change_dir_mode): Likewise.

28 years ago(md5_t_stats): Restructure pluralization of error message so it's easier
Jim Meyering [Wed, 15 May 1996 04:45:12 +0000 (04:45 +0000)]
(md5_t_stats): Restructure pluralization of error message so it's easier
to translate.

28 years ago(print_stats): Restructure pluralization of error message so it's easier
Jim Meyering [Wed, 15 May 1996 04:37:50 +0000 (04:37 +0000)]
(print_stats): Restructure pluralization of error message so it's easier
to translate.

28 years ago(main): Restructure pluralization of error message so it's easier to translate.
Jim Meyering [Wed, 15 May 1996 04:37:08 +0000 (04:37 +0000)]
(main): Restructure pluralization of error message so it's easier to translate.

28 years ago.
Jim Meyering [Wed, 15 May 1996 02:03:39 +0000 (02:03 +0000)]
.