platform/upstream/coreutils.git
28 years agoupdate Copyright years for 1996
Jim Meyering [Wed, 24 Apr 1996 04:42:21 +0000 (04:42 +0000)]
update Copyright years for 1996

28 years ago.
Jim Meyering [Wed, 24 Apr 1996 04:30:07 +0000 (04:30 +0000)]
.

28 years ago.
Jim Meyering [Wed, 24 Apr 1996 04:29:20 +0000 (04:29 +0000)]
.

28 years ago(find_backup_file_name): Constify decls of formal parameters.
Jim Meyering [Wed, 24 Apr 1996 04:29:00 +0000 (04:29 +0000)]
(find_backup_file_name): Constify decls of formal parameters.

28 years ago(find_backup_file_name, max_backup_version, make_version_name,
Jim Meyering [Wed, 24 Apr 1996 04:28:21 +0000 (04:28 +0000)]
(find_backup_file_name, max_backup_version, make_version_name,
version_number, concat): Constify decls of formal parameters.

28 years ago.
Jim Meyering [Wed, 24 Apr 1996 04:08:14 +0000 (04:08 +0000)]
.

28 years ago[HAVE_LCHOWN]: Define chown to lchown.
Jim Meyering [Wed, 24 Apr 1996 03:44:29 +0000 (03:44 +0000)]
[HAVE_LCHOWN]: Define chown to lchown.

28 years ago[chown]: Move definition up a little.
Jim Meyering [Wed, 24 Apr 1996 03:41:33 +0000 (03:41 +0000)]
[chown]: Move definition up a little.

28 years ago[HAVE_LCHOWN]: Define chown to lchown.
Jim Meyering [Wed, 24 Apr 1996 03:41:10 +0000 (03:41 +0000)]
[HAVE_LCHOWN]: Define chown to lchown.

28 years ago[HAVE_LCHOWN]: Define chown to lchown.
Jim Meyering [Wed, 24 Apr 1996 03:40:18 +0000 (03:40 +0000)]
[HAVE_LCHOWN]: Define chown to lchown.

28 years ago[HAVE_LCHOWN]: Define chown to lchown.
Jim Meyering [Wed, 24 Apr 1996 03:35:55 +0000 (03:35 +0000)]
[HAVE_LCHOWN]: Define chown to lchown.

28 years ago.
Jim Meyering [Wed, 24 Apr 1996 03:25:02 +0000 (03:25 +0000)]
.

28 years ago(main): Declare to return int, not void.
Jim Meyering [Wed, 24 Apr 1996 03:24:54 +0000 (03:24 +0000)]
(main): Declare to return int, not void.

28 years ago(main): Declare to return int, not void.
Jim Meyering [Wed, 24 Apr 1996 03:23:54 +0000 (03:23 +0000)]
(main): Declare to return int, not void.

28 years ago(usage): Add missing close paren and open paren.
Jim Meyering [Wed, 24 Apr 1996 03:23:37 +0000 (03:23 +0000)]
(usage): Add missing close paren and open paren.

28 years ago.
Jim Meyering [Wed, 24 Apr 1996 03:13:47 +0000 (03:13 +0000)]
.

28 years ago(su_SOURCES): Remove getopt.c and getopt1.c.
Jim Meyering [Wed, 24 Apr 1996 03:13:41 +0000 (03:13 +0000)]
(su_SOURCES): Remove getopt.c and getopt1.c.
(EXTRA_DIST): Add getopt.c and getopt1.c

28 years ago.
Jim Meyering [Wed, 24 Apr 1996 03:09:50 +0000 (03:09 +0000)]
.

28 years ago.
Jim Meyering [Wed, 24 Apr 1996 02:34:42 +0000 (02:34 +0000)]
.

28 years ago.
Jim Meyering [Mon, 22 Apr 1996 03:20:47 +0000 (03:20 +0000)]
.

28 years ago(usage): Use FIRST, LAST consistently in description.
Jim Meyering [Mon, 22 Apr 1996 03:20:14 +0000 (03:20 +0000)]
(usage): Use FIRST, LAST consistently in description.

28 years ago(usage): Describe new %V format.
Jim Meyering [Mon, 22 Apr 1996 03:19:14 +0000 (03:19 +0000)]
(usage): Describe new %V format.

28 years ago.
Jim Meyering [Mon, 22 Apr 1996 03:17:19 +0000 (03:17 +0000)]
.

28 years ago(usage): Reflect that now --no-sync is the default.
Jim Meyering [Mon, 22 Apr 1996 03:17:14 +0000 (03:17 +0000)]
(usage): Reflect that now --no-sync is the default.

28 years agoNew version from gettext-0.10.12.
Jim Meyering [Mon, 22 Apr 1996 03:02:55 +0000 (03:02 +0000)]
New version from gettext-0.10.12.

28 years ago(md5_check): Remove spurious `\n' at end of error format string.
Jim Meyering [Mon, 22 Apr 1996 03:00:52 +0000 (03:00 +0000)]
(md5_check): Remove spurious `\n' at end of error format string.

28 years ago(decode_one_format): Use printf's L modifier for long doubles,
Jim Meyering [Sun, 21 Apr 1996 21:07:13 +0000 (21:07 +0000)]
(decode_one_format): Use printf's L modifier for long doubles,
not `l'.  From Eric Backus.

28 years agoInclude <values.h>.
Jim Meyering [Sun, 21 Apr 1996 14:17:13 +0000 (14:17 +0000)]
Include <values.h>.
[!BITSPERBYTE]: Define.
[OFF_T_MAX]: Use BITSPERBYTE, not 8, and cast the result to off_t.

28 years ago.
Jim Meyering [Sun, 21 Apr 1996 13:32:54 +0000 (13:32 +0000)]
.

28 years ago. FILEUTILS-3_12l
Jim Meyering [Sun, 21 Apr 1996 05:20:10 +0000 (05:20 +0000)]
.

28 years agoInclude xstrtol.h.
Jim Meyering [Sun, 21 Apr 1996 05:18:19 +0000 (05:18 +0000)]
Include xstrtol.h.
[!BITSPERBYTE]: Define.
[!UID_T_MAX]: Define.
[!GID_T_MAX]: Define.
(get_ids): Use xstrtol, not atoi.
(is_number): Remove now-unused function.

28 years agoRemove obsolete FIXME.
Jim Meyering [Sun, 21 Apr 1996 05:15:39 +0000 (05:15 +0000)]
Remove obsolete FIXME.

28 years ago(decode_switches): Replace two more atoi uses with xstrtol.
Jim Meyering [Sun, 21 Apr 1996 04:45:12 +0000 (04:45 +0000)]
(decode_switches): Replace two more atoi uses with xstrtol.

28 years ago(decode_switches): Use getenv (POSIXLY_CORRECT), not undefined posix_pedantic.
Jim Meyering [Sun, 21 Apr 1996 04:11:43 +0000 (04:11 +0000)]
(decode_switches): Use getenv (POSIXLY_CORRECT), not undefined posix_pedantic.

28 years ago(decode_switches): Clean up last change.
Jim Meyering [Sun, 21 Apr 1996 04:07:41 +0000 (04:07 +0000)]
(decode_switches): Clean up last change.
[posix_pedantic]: Don't consider TABSIZE environment variable.

28 years ago(decode_switches): Use xstrtol, not atoi.
Jim Meyering [Sun, 21 Apr 1996 03:52:30 +0000 (03:52 +0000)]
(decode_switches): Use xstrtol, not atoi.
Detect and ignore invalid value for COLUMNS environment variable.
In error about invalid TABSIZE, don't reference optarg!

28 years ago.
Jim Meyering [Sun, 21 Apr 1996 03:27:32 +0000 (03:27 +0000)]
.

28 years ago(usage): Improve help message. From Karl Berry.
Jim Meyering [Sun, 21 Apr 1996 03:26:46 +0000 (03:26 +0000)]
(usage): Improve help message.  From Karl Berry.

28 years ago(usage): Improve help message. From Karl Berry.
Jim Meyering [Sun, 21 Apr 1996 03:25:53 +0000 (03:25 +0000)]
(usage): Improve help message.  From Karl Berry.

28 years ago(usage): Improve help message.
Jim Meyering [Sun, 21 Apr 1996 03:24:47 +0000 (03:24 +0000)]
(usage): Improve help message.
Enclose message strings in _().
From Karl Berry.

28 years ago. TEXTUTILS-1_14b
Jim Meyering [Sat, 20 Apr 1996 04:50:26 +0000 (04:50 +0000)]
.

28 years ago.
Jim Meyering [Sat, 20 Apr 1996 04:46:11 +0000 (04:46 +0000)]
.

28 years ago.
Jim Meyering [Sat, 20 Apr 1996 03:51:17 +0000 (03:51 +0000)]
.

28 years agoNo longer call sync by default.
Jim Meyering [Sat, 20 Apr 1996 03:51:10 +0000 (03:51 +0000)]
No longer call sync by default.

28 years ago(main): Make separation of case for n_files == 0 more clear.
Jim Meyering [Sat, 20 Apr 1996 03:43:10 +0000 (03:43 +0000)]
(main): Make separation of case for n_files == 0 more clear.

28 years ago.
Jim Meyering [Fri, 19 Apr 1996 05:07:58 +0000 (05:07 +0000)]
.

28 years ago(copy_reg): Rearrange arithmetic in conditional to avoid
Jim Meyering [Fri, 19 Apr 1996 05:07:52 +0000 (05:07 +0000)]
(copy_reg): Rearrange arithmetic in conditional to avoid
integer overflow with large files.

28 years ago(basename): Rewrite so it doesn't rely on strrchr,
Jim Meyering [Fri, 19 Apr 1996 04:41:27 +0000 (04:41 +0000)]
(basename): Rewrite so it doesn't rely on strrchr,
and hence doesn't need to include string.h -- on some alpha-based
OSF systems, there's a conflicting prototype for basename in string.h.
Reported by Kaveh Ghazi.

28 years ago.
Jim Meyering [Fri, 19 Apr 1996 04:34:53 +0000 (04:34 +0000)]
.

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

28 years ago(main): Make code clearer: use new variable `n_files' in
Jim Meyering [Fri, 19 Apr 1996 03:17:23 +0000 (03:17 +0000)]
(main): Make code clearer:  use new variable `n_files' in
place of `argc - optind'.  Use `file' instead of `argv + optind'.

28 years agoIndent cpp-directives.
Jim Meyering [Thu, 18 Apr 1996 23:02:17 +0000 (23:02 +0000)]
Indent cpp-directives.

28 years ago.
Jim Meyering [Wed, 17 Apr 1996 05:03:22 +0000 (05:03 +0000)]
.

28 years ago.
Jim Meyering [Wed, 17 Apr 1996 05:02:34 +0000 (05:02 +0000)]
.

28 years ago.
Jim Meyering [Wed, 17 Apr 1996 05:01:56 +0000 (05:01 +0000)]
.

28 years ago.
Jim Meyering [Wed, 17 Apr 1996 05:01:10 +0000 (05:01 +0000)]
.

28 years ago.
Jim Meyering [Wed, 17 Apr 1996 05:00:17 +0000 (05:00 +0000)]
.

28 years ago.
Jim Meyering [Wed, 17 Apr 1996 03:41:47 +0000 (03:41 +0000)]
.

28 years agoTest cpp-defined __sun as well as sun, because
Jim Meyering [Sun, 14 Apr 1996 02:12:46 +0000 (02:12 +0000)]
Test cpp-defined __sun as well as sun, because
in strict ANSI mode, only __sun is defined.  From Kaveh Ghazi.

28 years ago.
Jim Meyering [Sun, 14 Apr 1996 00:34:30 +0000 (00:34 +0000)]
.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 18:27:27 +0000 (18:27 +0000)]
.

28 years ago(usage): Add missing `\n\' at the end of newly added lines for %e and %z.
Jim Meyering [Sat, 13 Apr 1996 18:27:24 +0000 (18:27 +0000)]
(usage): Add missing `\n\' at the end of newly added lines for %e and %z.

28 years ago(print_uptime): Invoke getloadavg only if we have it.
Jim Meyering [Sat, 13 Apr 1996 18:26:39 +0000 (18:26 +0000)]
(print_uptime): Invoke getloadavg only if we have it.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 18:13:16 +0000 (18:13 +0000)]
.

28 years agoUnprotoize.
Jim Meyering [Sat, 13 Apr 1996 18:13:09 +0000 (18:13 +0000)]
Unprotoize.
[ISASCII]: Define.
[ISUPPER]: Define.

28 years ago(decode_field_spec): Rename local variable `valid'
Jim Meyering [Sat, 13 Apr 1996 18:11:43 +0000 (18:11 +0000)]
(decode_field_spec): Rename local variable `valid'
to invalid (and reverse sense) to avoid conflict with the
macro definition in /usr/include/locale.h on SunOS 4.1.3.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 04:42:15 +0000 (04:42 +0000)]
.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 03:59:26 +0000 (03:59 +0000)]
.

28 years ago(main): Add new option: --verbose.
Jim Meyering [Sat, 13 Apr 1996 03:59:20 +0000 (03:59 +0000)]
(main): Add new option: --verbose.
Remove long-deprecated and nowhere-documented --path, a synonym
for --parents.  It was confusing to get an error about `--p'
being ambiguous.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 03:58:33 +0000 (03:58 +0000)]
.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 03:18:47 +0000 (03:18 +0000)]
.

28 years agoMark translatable strings in new code.
Jim Meyering [Sat, 13 Apr 1996 03:17:44 +0000 (03:17 +0000)]
Mark translatable strings in new code.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 03:07:54 +0000 (03:07 +0000)]
.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 03:05:56 +0000 (03:05 +0000)]
.

28 years ago(usage): Document %e and %z. Reported by Karl Berry.
Jim Meyering [Sat, 13 Apr 1996 03:04:21 +0000 (03:04 +0000)]
(usage): Document %e and %z.  Reported by Karl Berry.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 02:54:59 +0000 (02:54 +0000)]
.

28 years ago.
Jim Meyering [Sat, 13 Apr 1996 02:54:13 +0000 (02:54 +0000)]
.

28 years ago.
Jim Meyering [Fri, 12 Apr 1996 04:27:03 +0000 (04:27 +0000)]
.

28 years agoReindent.
Jim Meyering [Thu, 11 Apr 1996 02:30:09 +0000 (02:30 +0000)]
Reindent.
(UT_TIME_MEMBER): New macro.
(print_uptime): Use it instead of #ifdef HAVE_UTMPX_H #else.
(print_entry): Likewise.

28 years ago(print_uptime) [UPTIME]: New function. From Kaveh Ghazi.
Jim Meyering [Wed, 10 Apr 1996 04:57:09 +0000 (04:57 +0000)]
(print_uptime) [UPTIME]: New function.  From Kaveh Ghazi.

28 years ago.
Jim Meyering [Wed, 10 Apr 1996 04:03:47 +0000 (04:03 +0000)]
.

28 years ago.
Jim Meyering [Wed, 10 Apr 1996 03:52:01 +0000 (03:52 +0000)]
.

28 years ago.
Jim Meyering [Wed, 10 Apr 1996 03:51:41 +0000 (03:51 +0000)]
.

28 years agoDocument uniq's new --ignore-case option.
Jim Meyering [Wed, 10 Apr 1996 03:51:07 +0000 (03:51 +0000)]
Document uniq's new --ignore-case option.

28 years agoAdd new option --ignore-case (-i).
Jim Meyering [Wed, 10 Apr 1996 03:50:31 +0000 (03:50 +0000)]
Add new option --ignore-case (-i).
Include memcasecmp.h.
(different): Compare with memcasecmp if ignoring case.
(main): Handle 'i'.

28 years ago(memcasecmp): Remove static definition of function.
Jim Meyering [Wed, 10 Apr 1996 03:47:28 +0000 (03:47 +0000)]
(memcasecmp): Remove static definition of function.
Include memcasecmp.h instead.

28 years ago.
Jim Meyering [Wed, 10 Apr 1996 03:29:05 +0000 (03:29 +0000)]
.

28 years ago.
Jim Meyering [Mon, 8 Apr 1996 04:57:19 +0000 (04:57 +0000)]
.

28 years ago.
Jim Meyering [Mon, 8 Apr 1996 04:56:36 +0000 (04:56 +0000)]
.

28 years ago.
Jim Meyering [Mon, 8 Apr 1996 04:54:35 +0000 (04:54 +0000)]
.

28 years ago.
Jim Meyering [Mon, 8 Apr 1996 04:54:00 +0000 (04:54 +0000)]
.

28 years ago(mon_week_ISO): New function to implement new %V format.
Jim Meyering [Mon, 8 Apr 1996 04:53:54 +0000 (04:53 +0000)]
(mon_week_ISO): New function to implement new %V format.
(sun_week): Make TM parameter `const'.
(mon_week): Likewise.
(mon_week): Rewrite to correctly implement %W format..

28 years ago(print_numbers): Fix off-by-one error in backwards-counting loop.
Jim Meyering [Mon, 8 Apr 1996 04:37:45 +0000 (04:37 +0000)]
(print_numbers): Fix off-by-one error in backwards-counting loop.
Reported by Karl Eichwalder.

28 years ago.
Jim Meyering [Sun, 7 Apr 1996 17:56:40 +0000 (17:56 +0000)]
.

28 years agoupdage from gettext-0.10.12
Jim Meyering [Sun, 7 Apr 1996 17:53:50 +0000 (17:53 +0000)]
updage from gettext-0.10.12

28 years ago(usage): Give minimal description of the program.
Jim Meyering [Sun, 7 Apr 1996 17:46:03 +0000 (17:46 +0000)]
(usage): Give minimal description of the program.
(print_factors): Give a better diagnostic.
(main): Suggest --help upon failure.
Reported by Karl Eichwalder <ke@ke.Central.DE>.

28 years ago.
Jim Meyering [Sun, 7 Apr 1996 17:27:27 +0000 (17:27 +0000)]
.

28 years agoFiddle with messages.
Jim Meyering [Sun, 7 Apr 1996 17:27:11 +0000 (17:27 +0000)]
Fiddle with messages.

28 years ago(print_numbers): Give more precise diagnostic when increment
Jim Meyering [Sun, 7 Apr 1996 17:10:21 +0000 (17:10 +0000)]
(print_numbers): Give more precise diagnostic when increment
is inconsistent with FROM and TO.
(usage): Clean up help message.

28 years ago(main): Rearrange loops to get it right.
Jim Meyering [Sun, 7 Apr 1996 16:59:12 +0000 (16:59 +0000)]
(main): Rearrange loops to get it right.
Reported by Karl Eichwalder <ke@ke.Central.DE>.