platform/upstream/coreutils.git
28 years ago.
Jim Meyering [Sat, 7 Dec 1996 19:03:23 +0000 (19:03 +0000)]
.

28 years ago[__SVR4]: Define SVR4.
Jim Meyering [Sat, 7 Dec 1996 19:03:13 +0000 (19:03 +0000)]
[__SVR4]: Define SVR4.
Remove duplicate `|| defined(SVR4)' disjunct guarding the
#define KERNEL_FILE "/unix" definiton.

28 years ago.
Jim Meyering [Sat, 7 Dec 1996 18:57:11 +0000 (18:57 +0000)]
.

28 years ago(strftime): Remove " %Z" part of format for %c. Suggestion from Paul Eggert.
Jim Meyering [Sat, 7 Dec 1996 18:52:54 +0000 (18:52 +0000)]
(strftime): Remove " %Z" part of format for %c. Suggestion from Paul Eggert.

28 years agopatch from Roland Huebner
Jim Meyering [Sat, 7 Dec 1996 05:47:28 +0000 (05:47 +0000)]
patch from Roland Huebner

28 years ago.
Jim Meyering [Fri, 6 Dec 1996 12:39:39 +0000 (12:39 +0000)]
.

28 years ago(init_store_cols): Put parens around ... ? ... : ... expr.
Jim Meyering [Thu, 5 Dec 1996 05:01:30 +0000 (05:01 +0000)]
(init_store_cols): Put parens around ... ? ... : ... expr.

28 years agoUse NULL instead of e.g., `(char *) 0'.
Jim Meyering [Thu, 5 Dec 1996 04:59:26 +0000 (04:59 +0000)]
Use NULL instead of e.g., `(char *) 0'.

28 years ago(init_header): Move dcl of FMT into block where it's used.
Jim Meyering [Thu, 5 Dec 1996 04:55:51 +0000 (04:55 +0000)]
(init_header): Move dcl of FMT into block where it's used.

28 years agoReindent with -TCOLUMN.
Jim Meyering [Thu, 5 Dec 1996 04:49:12 +0000 (04:49 +0000)]
Reindent with -TCOLUMN.
(main): Add two sets of curly braces for readability.

28 years ago(usage): Add \n\ at end of first line.
Jim Meyering [Thu, 5 Dec 1996 04:43:19 +0000 (04:43 +0000)]
(usage): Add \n\ at end of first line.

28 years ago(separator_string): dcl parameter const.
Jim Meyering [Thu, 5 Dec 1996 04:35:39 +0000 (04:35 +0000)]
(separator_string): dcl parameter const.
Add __P in fwd dcl.

28 years agoApply big patch (patch-20) from Roland Huebner.
Jim Meyering [Thu, 5 Dec 1996 04:33:33 +0000 (04:33 +0000)]
Apply big patch (patch-20) from Roland Huebner.

28 years ago.
Jim Meyering [Thu, 5 Dec 1996 03:18:34 +0000 (03:18 +0000)]
.

28 years ago.
Jim Meyering [Thu, 5 Dec 1996 03:16:24 +0000 (03:16 +0000)]
.

28 years ago.
Jim Meyering [Thu, 5 Dec 1996 03:13:39 +0000 (03:13 +0000)]
.

28 years ago(main) [!POSIXLY_CORRECT]: Allow the identity mappings:
Jim Meyering [Thu, 5 Dec 1996 03:13:33 +0000 (03:13 +0000)]
(main) [!POSIXLY_CORRECT]: Allow the identity mappings:
[:upper:] to [:upper:] and [:lower:] to [:lower:].
(main) [POSIXLY_CORRECT]: Give a more specific diagnostic for the
identity mappings [:upper:] to [:upper:] and [:lower:] to [:lower:].
(class_ok): Update table to reflect that tr now allows these
identity mappings.

28 years ago(print_color_indicator): Initialize EXT to NULL.
Jim Meyering [Wed, 4 Dec 1996 01:21:28 +0000 (01:21 +0000)]
(print_color_indicator): Initialize EXT to NULL.

28 years ago.
Jim Meyering [Tue, 3 Dec 1996 03:02:45 +0000 (03:02 +0000)]
.

28 years ago.
Jim Meyering [Tue, 3 Dec 1996 02:58:59 +0000 (02:58 +0000)]
.

28 years ago.
Jim Meyering [Tue, 3 Dec 1996 02:57:47 +0000 (02:57 +0000)]
.

28 years ago.
Jim Meyering [Tue, 3 Dec 1996 02:46:09 +0000 (02:46 +0000)]
.

28 years ago.
Jim Meyering [Tue, 3 Dec 1996 02:45:07 +0000 (02:45 +0000)]
.

28 years ago.
Jim Meyering [Tue, 3 Dec 1996 02:35:01 +0000 (02:35 +0000)]
.

28 years ago(print_color_indicator): Check the file's suffix only
Jim Meyering [Tue, 3 Dec 1996 02:33:09 +0000 (02:33 +0000)]
(print_color_indicator): Check the file's suffix only
if it's a regular file.
(print_type_indicator): Use S_IXUGO instead of writing out
(S_IEXEC | S_IXGRP | S_IXOTH).
(length_of_file_name_and_frills): Likewise.

28 years ago[!S_IXUGO] (S_IXUGO): Define it.
Jim Meyering [Tue, 3 Dec 1996 02:32:44 +0000 (02:32 +0000)]
[!S_IXUGO] (S_IXUGO): Define it.

28 years ago.
Jim Meyering [Sun, 1 Dec 1996 19:21:49 +0000 (19:21 +0000)]
.

28 years ago.
Jim Meyering [Sun, 1 Dec 1996 19:18:08 +0000 (19:18 +0000)]
.

28 years ago.
Jim Meyering [Sun, 1 Dec 1996 19:17:36 +0000 (19:17 +0000)]
.

28 years ago.
Jim Meyering [Sun, 1 Dec 1996 19:17:07 +0000 (19:17 +0000)]
.

28 years ago.
Jim Meyering [Sun, 1 Dec 1996 19:15:10 +0000 (19:15 +0000)]
.

28 years ago(date): Interpret the date, L/M/N, as YYYY/MM/DD
Jim Meyering [Sun, 1 Dec 1996 19:15:03 +0000 (19:15 +0000)]
(date): Interpret the date, L/M/N, as YYYY/MM/DD
if L >= 1000, otherwise as MM/DD/YY.  With this change,
date --date=DATE accepts dates like those in an RCS log listing.

28 years ago.
Jim Meyering [Sun, 1 Dec 1996 19:14:43 +0000 (19:14 +0000)]
.

28 years ago.
Jim Meyering [Sun, 1 Dec 1996 04:12:08 +0000 (04:12 +0000)]
.

28 years agoUpdate from GNU libc.
Jim Meyering [Sun, 1 Dec 1996 04:08:17 +0000 (04:08 +0000)]
Update from GNU libc.

28 years agoChange `:' in text of menu to <colon> to avoid problems
Jim Meyering [Sat, 30 Nov 1996 14:21:01 +0000 (14:21 +0000)]
Change `:' in text of menu to <colon> to avoid problems
with M-x info follow-node.

28 years ago.
Jim Meyering [Sat, 30 Nov 1996 05:37:43 +0000 (05:37 +0000)]
.

28 years ago.
Jim Meyering [Sat, 30 Nov 1996 04:34:58 +0000 (04:34 +0000)]
.

28 years ago.
Jim Meyering [Sat, 30 Nov 1996 04:33:36 +0000 (04:33 +0000)]
.

28 years ago(copy_file): Allow installation from non-directory (rather than only regular)
Jim Meyering [Sat, 30 Nov 1996 04:33:30 +0000 (04:33 +0000)]
(copy_file): Allow installation from non-directory (rather than only regular)
files.  Suggestion from Charles Karney.

28 years ago.
Jim Meyering [Sat, 30 Nov 1996 04:20:37 +0000 (04:20 +0000)]
.

28 years ago(uname): Document --processor (-p).
Jim Meyering [Sat, 30 Nov 1996 04:20:01 +0000 (04:20 +0000)]
(uname): Document --processor (-p).

28 years ago(main) [HAVE_SYSINFO && SI_ARCHITECTURE]: Support -p (print processor type).
Jim Meyering [Sat, 30 Nov 1996 04:18:19 +0000 (04:18 +0000)]
(main) [HAVE_SYSINFO && SI_ARCHITECTURE]: Support -p (print processor type).
(usage): Document it.

28 years ago(main): Accept -F as a synonym for -t for compatibility
Jim Meyering [Sat, 30 Nov 1996 04:08:02 +0000 (04:08 +0000)]
(main): Accept -F as a synonym for -t for compatibility
with Solaris.  From Peter Eriksson.

28 years ago.
Jim Meyering [Sat, 30 Nov 1996 04:07:32 +0000 (04:07 +0000)]
.

28 years ago.
Jim Meyering [Sat, 30 Nov 1996 03:21:11 +0000 (03:21 +0000)]
.

28 years ago(main): Close stdout and check result, in case any deferred writes fail.
Jim Meyering [Sat, 30 Nov 1996 03:20:48 +0000 (03:20 +0000)]
(main): Close stdout and check result, in case any deferred writes fail.
Use EXIT_SUCCESS and EXIT_FAILURE in exit and usage calls.

28 years ago.
Jim Meyering [Sat, 30 Nov 1996 03:08:46 +0000 (03:08 +0000)]
.

28 years ago.
Jim Meyering [Thu, 28 Nov 1996 23:50:17 +0000 (23:50 +0000)]
.

28 years ago(find_mount_point): Use strip_trailing_slashes and dirname
Jim Meyering [Thu, 28 Nov 1996 23:50:13 +0000 (23:50 +0000)]
(find_mount_point): Use strip_trailing_slashes and dirname
instead of open-coding them.  When given FILE containing no slashes,
chdir to the directory containing it (the current directory) rather
than to `..'.

28 years ago.
Jim Meyering [Thu, 28 Nov 1996 23:18:45 +0000 (23:18 +0000)]
.

28 years ago(get_fs_usage): If DISK is 0 and we needed to use
Jim Meyering [Thu, 28 Nov 1996 19:37:01 +0000 (19:37 +0000)]
(get_fs_usage): If DISK is 0 and we needed to use
it, return -1 with 0 in ERRNO.

From Miles.

28 years ago(find_mount_point): Use save_cwd/restore_cwd.
Jim Meyering [Thu, 28 Nov 1996 19:35:33 +0000 (19:35 +0000)]
(find_mount_point): Use save_cwd/restore_cwd.
"save-cwd.h": New include.

(show_dev): Deal with null values for DISK and FSTYPE,
including interpreting special 0 errno return from get_fs_usage.
(show_point): Don't fail if we can't find a mount entry for POINT,
just call show_dev with 0 values and let it fail if necessary.
(main): Require a non-zero MOUNT_LIST only if showing all filesystems.
(find_mount_point): New function.
(xgetcwd): New declaration.

All from Miles.

28 years ago.
Jim Meyering [Thu, 28 Nov 1996 06:32:39 +0000 (06:32 +0000)]
.

28 years ago.
Jim Meyering [Thu, 28 Nov 1996 06:30:36 +0000 (06:30 +0000)]
.

28 years ago.
Jim Meyering [Wed, 27 Nov 1996 05:24:41 +0000 (05:24 +0000)]
.

28 years agomerge with 0.10.25
Jim Meyering [Wed, 27 Nov 1996 05:13:21 +0000 (05:13 +0000)]
merge with 0.10.25

28 years ago.
Jim Meyering [Wed, 27 Nov 1996 05:06:09 +0000 (05:06 +0000)]
.

28 years ago(fraccompare): Add explicit `int' in `register' dcl, to
Jim Meyering [Wed, 27 Nov 1996 05:05:52 +0000 (05:05 +0000)]
(fraccompare): Add explicit `int' in `register' dcl, to
avoid new warning from gcc.

28 years ago.
Jim Meyering [Wed, 27 Nov 1996 05:04:48 +0000 (05:04 +0000)]
.

28 years ago.
Jim Meyering [Wed, 27 Nov 1996 05:00:15 +0000 (05:00 +0000)]
.

28 years agoFix Franc,ois' name. From Karl B.
Jim Meyering [Mon, 25 Nov 1996 14:36:18 +0000 (14:36 +0000)]
Fix Franc,ois' name.  From Karl B.

28 years agoFix Franc,ois' name. From Karl B.
Jim Meyering [Mon, 25 Nov 1996 14:35:45 +0000 (14:35 +0000)]
Fix Franc,ois' name.  From Karl B.

28 years ago.
Jim Meyering [Mon, 25 Nov 1996 04:45:59 +0000 (04:45 +0000)]
.

28 years ago.
Jim Meyering [Mon, 25 Nov 1996 04:42:37 +0000 (04:42 +0000)]
.

28 years ago.
Jim Meyering [Mon, 25 Nov 1996 04:42:15 +0000 (04:42 +0000)]
.

28 years ago.
Jim Meyering [Mon, 25 Nov 1996 03:15:46 +0000 (03:15 +0000)]
.

28 years ago.
Jim Meyering [Mon, 25 Nov 1996 03:12:57 +0000 (03:12 +0000)]
.

28 years ago.
Jim Meyering [Mon, 25 Nov 1996 03:10:03 +0000 (03:10 +0000)]
.

28 years ago.
Jim Meyering [Mon, 25 Nov 1996 03:09:33 +0000 (03:09 +0000)]
.

28 years ago(t): Add names of those 5 tests.
Jim Meyering [Mon, 25 Nov 1996 03:09:22 +0000 (03:09 +0000)]
(t): Add names of those 5 tests.

28 years agoAdd 5 tests to exercize just-fixed code.
Jim Meyering [Mon, 25 Nov 1996 03:08:52 +0000 (03:08 +0000)]
Add 5 tests to exercize just-fixed code.

28 years ago(set_ordering): Revert 1994-05-04 change to this function
Jim Meyering [Mon, 25 Nov 1996 03:07:52 +0000 (03:07 +0000)]
(set_ordering): Revert 1994-05-04 change to this function
so that blanks are not unconditionally ignored when computing start
and end positions for numeric keys.  Reported by Markus Demleitner.

28 years ago.
Jim Meyering [Sun, 24 Nov 1996 18:11:22 +0000 (18:11 +0000)]
.

28 years ago(get_win_size): Take a FILENO parameter rather than
Jim Meyering [Sun, 24 Nov 1996 18:06:35 +0000 (18:06 +0000)]
(get_win_size): Take a FILENO parameter rather than
trying to get a size from both stdin and stdout.
Update callers.
Use STDIN_FILENO and STDOUT_FILENO instead of literal 0, 1.

28 years agoBig patch from Karl Heuer. FIXME: fill in details
Jim Meyering [Sun, 24 Nov 1996 17:03:24 +0000 (17:03 +0000)]
Big patch from Karl Heuer.  FIXME: fill in details

28 years ago(EXTRA_DIST): Add getline.c now that getline
Jim Meyering [Sun, 24 Nov 1996 05:38:29 +0000 (05:38 +0000)]
(EXTRA_DIST): Add getline.c now that getline
isn't mentioned in AC_REPLACE_FUNCS.

28 years ago.
Jim Meyering [Sun, 24 Nov 1996 05:27:21 +0000 (05:27 +0000)]
.

28 years ago.
Jim Meyering [Sun, 24 Nov 1996 05:21:39 +0000 (05:21 +0000)]
.

28 years agoremove trailing blanks
Jim Meyering [Sun, 24 Nov 1996 03:05:11 +0000 (03:05 +0000)]
remove trailing blanks

28 years agoremove trailing blanks
Jim Meyering [Sun, 24 Nov 1996 03:04:12 +0000 (03:04 +0000)]
remove trailing blanks

28 years ago(usage): Remove trailing pair of blanks.
Jim Meyering [Sun, 24 Nov 1996 03:00:37 +0000 (03:00 +0000)]
(usage): Remove trailing pair of blanks.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 22:16:31 +0000 (22:16 +0000)]
.

28 years ago(usage): Alphabetize option descriptions the way sort -f would.
Jim Meyering [Sat, 23 Nov 1996 22:16:19 +0000 (22:16 +0000)]
(usage): Alphabetize option descriptions the way sort -f would.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 22:13:55 +0000 (22:13 +0000)]
.

28 years ago(usage): Alphabetize option descriptions the way sort -f would.
Jim Meyering [Sat, 23 Nov 1996 22:13:00 +0000 (22:13 +0000)]
(usage): Alphabetize option descriptions the way sort -f would.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 22:10:08 +0000 (22:10 +0000)]
.

28 years ago(usage): Alphabetize options like sort -f would.
Jim Meyering [Sat, 23 Nov 1996 22:06:55 +0000 (22:06 +0000)]
(usage): Alphabetize options like sort -f would.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 05:04:56 +0000 (05:04 +0000)]
.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 04:22:46 +0000 (04:22 +0000)]
.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 04:16:43 +0000 (04:16 +0000)]
.

28 years ago(copy): With -i and not -f, prompt for any type of
Jim Meyering [Sat, 23 Nov 1996 04:15:35 +0000 (04:15 +0000)]
(copy): With -i and not -f, prompt for any type of
(non-directory) source file before overwriting an existing target.
Reported by Mark A. Thomas.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 02:36:54 +0000 (02:36 +0000)]
.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 02:36:09 +0000 (02:36 +0000)]
.

28 years ago(main): Warn if excess arguments are ignored.
Jim Meyering [Sat, 23 Nov 1996 02:34:31 +0000 (02:34 +0000)]
(main): Warn if excess arguments are ignored.
E.g., printf foo bar now ignores the single non-format argument, bar.

28 years ago.
Jim Meyering [Sat, 23 Nov 1996 02:32:19 +0000 (02:32 +0000)]
.

28 years ago(process_regexp): Update CURRENT_LINE only if
Jim Meyering [Sat, 23 Nov 1996 02:32:10 +0000 (02:32 +0000)]
(process_regexp): Update CURRENT_LINE only if
the new value would be larger.  This avoids the infinite loop
otherwise provoked by situations like this:
printf "\na\n" | csplit - '/a/-1' '{*}'
From Jens Schmidt.

28 years agoremove my @comco address
Jim Meyering [Thu, 21 Nov 1996 02:42:52 +0000 (02:42 +0000)]
remove my @comco address

28 years ago.
Jim Meyering [Thu, 21 Nov 1996 02:39:37 +0000 (02:39 +0000)]
.

28 years ago(xgethostname): Work around bug in SunOS5.5's gethostname.
Jim Meyering [Thu, 21 Nov 1996 02:38:40 +0000 (02:38 +0000)]
(xgethostname): Work around bug in SunOS5.5's gethostname.