Jim Meyering [Sat, 30 Nov 1996 03:21:11 +0000 (03:21 +0000)]
.
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.
Jim Meyering [Sat, 30 Nov 1996 03:08:46 +0000 (03:08 +0000)]
.
Jim Meyering [Thu, 28 Nov 1996 23:50:17 +0000 (23:50 +0000)]
.
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 `..'.
Jim Meyering [Thu, 28 Nov 1996 23:18:45 +0000 (23:18 +0000)]
.
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.
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.
Jim Meyering [Thu, 28 Nov 1996 06:32:39 +0000 (06:32 +0000)]
.
Jim Meyering [Thu, 28 Nov 1996 06:30:36 +0000 (06:30 +0000)]
.
Jim Meyering [Wed, 27 Nov 1996 05:24:41 +0000 (05:24 +0000)]
.
Jim Meyering [Wed, 27 Nov 1996 05:13:21 +0000 (05:13 +0000)]
merge with 0.10.25
Jim Meyering [Wed, 27 Nov 1996 05:06:09 +0000 (05:06 +0000)]
.
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.
Jim Meyering [Wed, 27 Nov 1996 05:04:48 +0000 (05:04 +0000)]
.
Jim Meyering [Wed, 27 Nov 1996 05:00:15 +0000 (05:00 +0000)]
.
Jim Meyering [Mon, 25 Nov 1996 14:36:18 +0000 (14:36 +0000)]
Fix 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.
Jim Meyering [Mon, 25 Nov 1996 04:45:59 +0000 (04:45 +0000)]
.
Jim Meyering [Mon, 25 Nov 1996 04:42:37 +0000 (04:42 +0000)]
.
Jim Meyering [Mon, 25 Nov 1996 04:42:15 +0000 (04:42 +0000)]
.
Jim Meyering [Mon, 25 Nov 1996 03:15:46 +0000 (03:15 +0000)]
.
Jim Meyering [Mon, 25 Nov 1996 03:12:57 +0000 (03:12 +0000)]
.
Jim Meyering [Mon, 25 Nov 1996 03:10:03 +0000 (03:10 +0000)]
.
Jim Meyering [Mon, 25 Nov 1996 03:09:33 +0000 (03:09 +0000)]
.
Jim Meyering [Mon, 25 Nov 1996 03:09:22 +0000 (03:09 +0000)]
(t): Add names of those 5 tests.
Jim Meyering [Mon, 25 Nov 1996 03:08:52 +0000 (03:08 +0000)]
Add 5 tests to exercize just-fixed code.
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.
Jim Meyering [Sun, 24 Nov 1996 18:11:22 +0000 (18:11 +0000)]
.
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.
Jim Meyering [Sun, 24 Nov 1996 17:03:24 +0000 (17:03 +0000)]
Big patch from Karl Heuer. FIXME: fill in details
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.
Jim Meyering [Sun, 24 Nov 1996 05:27:21 +0000 (05:27 +0000)]
.
Jim Meyering [Sun, 24 Nov 1996 05:21:39 +0000 (05:21 +0000)]
.
Jim Meyering [Sun, 24 Nov 1996 03:05:11 +0000 (03:05 +0000)]
remove trailing blanks
Jim Meyering [Sun, 24 Nov 1996 03:04:12 +0000 (03:04 +0000)]
remove trailing blanks
Jim Meyering [Sun, 24 Nov 1996 03:00:37 +0000 (03:00 +0000)]
(usage): Remove trailing pair of blanks.
Jim Meyering [Sat, 23 Nov 1996 22:16:31 +0000 (22:16 +0000)]
.
Jim Meyering [Sat, 23 Nov 1996 22:16:19 +0000 (22:16 +0000)]
(usage): Alphabetize option descriptions the way sort -f would.
Jim Meyering [Sat, 23 Nov 1996 22:13:55 +0000 (22:13 +0000)]
.
Jim Meyering [Sat, 23 Nov 1996 22:13:00 +0000 (22:13 +0000)]
(usage): Alphabetize option descriptions the way sort -f would.
Jim Meyering [Sat, 23 Nov 1996 22:10:08 +0000 (22:10 +0000)]
.
Jim Meyering [Sat, 23 Nov 1996 22:06:55 +0000 (22:06 +0000)]
(usage): Alphabetize options like sort -f would.
Jim Meyering [Sat, 23 Nov 1996 05:04:56 +0000 (05:04 +0000)]
.
Jim Meyering [Sat, 23 Nov 1996 04:22:46 +0000 (04:22 +0000)]
.
Jim Meyering [Sat, 23 Nov 1996 04:16:43 +0000 (04:16 +0000)]
.
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.
Jim Meyering [Sat, 23 Nov 1996 02:36:54 +0000 (02:36 +0000)]
.
Jim Meyering [Sat, 23 Nov 1996 02:36:09 +0000 (02:36 +0000)]
.
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.
Jim Meyering [Sat, 23 Nov 1996 02:32:19 +0000 (02:32 +0000)]
.
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.
Jim Meyering [Thu, 21 Nov 1996 02:42:52 +0000 (02:42 +0000)]
remove my @comco address
Jim Meyering [Thu, 21 Nov 1996 02:39:37 +0000 (02:39 +0000)]
.
Jim Meyering [Thu, 21 Nov 1996 02:38:40 +0000 (02:38 +0000)]
(xgethostname): Work around bug in SunOS5.5's gethostname.
Jim Meyering [Wed, 20 Nov 1996 06:36:09 +0000 (06:36 +0000)]
.
Jim Meyering [Wed, 20 Nov 1996 06:34:41 +0000 (06:34 +0000)]
.
Jim Meyering [Wed, 20 Nov 1996 05:18:13 +0000 (05:18 +0000)]
.
Jim Meyering [Wed, 20 Nov 1996 05:17:50 +0000 (05:17 +0000)]
.
Jim Meyering [Wed, 20 Nov 1996 05:13:57 +0000 (05:13 +0000)]
.
Jim Meyering [Mon, 18 Nov 1996 02:54:14 +0000 (02:54 +0000)]
Remove unused declaration of mktime. From Tony Leneis.
Jim Meyering [Mon, 18 Nov 1996 02:51:09 +0000 (02:51 +0000)]
.
Jim Meyering [Mon, 18 Nov 1996 02:50:30 +0000 (02:50 +0000)]
.
Jim Meyering [Mon, 18 Nov 1996 02:50:21 +0000 (02:50 +0000)]
(main): Ignore -a, for compatibility with SVR4.
Jim Meyering [Tue, 5 Nov 1996 05:24:53 +0000 (05:24 +0000)]
.
Jim Meyering [Tue, 5 Nov 1996 05:20:03 +0000 (05:20 +0000)]
.
Jim Meyering [Tue, 5 Nov 1996 04:47:40 +0000 (04:47 +0000)]
.
Jim Meyering [Tue, 5 Nov 1996 04:38:41 +0000 (04:38 +0000)]
Thu Oct 31 19:32:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
[ENAMETOOLONG] (xgethostname): If gethostname
returns an error other than buffer overflow, exit with an error
message instead of allocating infinite amounts of space.
[!EXIT_FAILURE] (EXIT_FAILURE): New macro.
<errno.h>: New include.
[!errno] (errno): New declaration.
Jim Meyering [Tue, 5 Nov 1996 04:26:34 +0000 (04:26 +0000)]
.
Jim Meyering [Tue, 5 Nov 1996 04:23:22 +0000 (04:23 +0000)]
Fix copyright.
Jim Meyering [Tue, 5 Nov 1996 04:22:40 +0000 (04:22 +0000)]
Fix copyright.
Jim Meyering [Tue, 5 Nov 1996 04:11:31 +0000 (04:11 +0000)]
.
Jim Meyering [Tue, 5 Nov 1996 03:38:23 +0000 (03:38 +0000)]
libitize
Jim Meyering [Tue, 5 Nov 1996 02:31:02 +0000 (02:31 +0000)]
.
Jim Meyering [Mon, 4 Nov 1996 18:15:56 +0000 (18:15 +0000)]
from franc,ois
Jim Meyering [Mon, 4 Nov 1996 18:11:58 +0000 (18:11 +0000)]
libitize
Jim Meyering [Mon, 4 Nov 1996 18:07:38 +0000 (18:07 +0000)]
libitize
Jim Meyering [Mon, 4 Nov 1996 18:05:10 +0000 (18:05 +0000)]
New version from François Pinard.
Jim Meyering [Mon, 4 Nov 1996 18:01:20 +0000 (18:01 +0000)]
libitize
Jim Meyering [Mon, 4 Nov 1996 17:59:28 +0000 (17:59 +0000)]
libitize
Jim Meyering [Mon, 4 Nov 1996 17:58:21 +0000 (17:58 +0000)]
libitize
Jim Meyering [Mon, 4 Nov 1996 17:57:34 +0000 (17:57 +0000)]
libitize
Jim Meyering [Mon, 4 Nov 1996 17:56:16 +0000 (17:56 +0000)]
.
Jim Meyering [Mon, 4 Nov 1996 00:22:26 +0000 (00:22 +0000)]
(recover_mode): Fail also if there are too many fields. From Karl Heuer.
Jim Meyering [Sun, 3 Nov 1996 23:53:51 +0000 (23:53 +0000)]
cpp-indent + change some #ifdef to #if
Jim Meyering [Sun, 3 Nov 1996 23:44:15 +0000 (23:44 +0000)]
.
Jim Meyering [Sun, 3 Nov 1996 23:43:36 +0000 (23:43 +0000)]
.
Jim Meyering [Sun, 3 Nov 1996 20:59:43 +0000 (20:59 +0000)]
Include sys/types.h for the definitions
(otherwise missing on some systems) of caddr_t (used by
sys/socket.h) and ushort (used by netinet/in.h). From Karl Heuer.
Jim Meyering [Sun, 3 Nov 1996 14:44:30 +0000 (14:44 +0000)]
.
Jim Meyering [Sun, 3 Nov 1996 14:42:03 +0000 (14:42 +0000)]
.
Jim Meyering [Sun, 3 Nov 1996 03:16:27 +0000 (03:16 +0000)]
change bug-reporting address
Jim Meyering [Sun, 3 Nov 1996 03:16:23 +0000 (03:16 +0000)]
change bug-reporting address
Jim Meyering [Sat, 2 Nov 1996 23:40:19 +0000 (23:40 +0000)]
change bug-reporting address
Jim Meyering [Sat, 2 Nov 1996 20:51:40 +0000 (20:51 +0000)]
.
Jim Meyering [Sat, 2 Nov 1996 20:44:52 +0000 (20:44 +0000)]
change bug-reporting address
Jim Meyering [Sat, 2 Nov 1996 20:44:15 +0000 (20:44 +0000)]
change bug-reporting address
Jim Meyering [Sat, 2 Nov 1996 19:24:35 +0000 (19:24 +0000)]
.
Jim Meyering [Sat, 2 Nov 1996 16:05:47 +0000 (16:05 +0000)]
.
Jim Meyering [Sat, 2 Nov 1996 15:28:22 +0000 (15:28 +0000)]
.
Jim Meyering [Sat, 2 Nov 1996 15:28:08 +0000 (15:28 +0000)]
(gobble_file): Set linkok for non-orphaned symlinks.
From Bauke Jan Douma.
(gobble_file): Initialize linkok.
With these two changes, ls --color should display orphaned symlinks
as blinking text on terminals that support it.