Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering ab8182fa71 . 1996-11-30 03:21:11 +00:00
Jim Meyering d740a98d4a (main): Close stdout and check result, in case any deferred writes fail.
Use EXIT_SUCCESS and EXIT_FAILURE in exit and usage calls.
1996-11-30 03:20:48 +00:00
Jim Meyering 40e0727bed . 1996-11-30 03:08:46 +00:00
Jim Meyering a387531246 . 1996-11-28 23:50:17 +00:00
Jim Meyering be44044a29 (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 `..'.
1996-11-28 23:50:13 +00:00
Jim Meyering ae9d905134 . 1996-11-28 23:18:45 +00:00
Jim Meyering bcb8610977 (get_fs_usage): If DISK is 0 and we needed to use
it, return -1 with 0 in ERRNO.

From Miles.
1996-11-28 19:37:01 +00:00
Jim Meyering ac66871c65 (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.
1996-11-28 19:35:33 +00:00
Jim Meyering 3fa102417e . 1996-11-28 06:32:39 +00:00
Jim Meyering 59b58a58f6 . 1996-11-28 06:30:36 +00:00
Jim Meyering f46bcc918b . 1996-11-27 05:24:41 +00:00
Jim Meyering 784928401d merge with 0.10.25 1996-11-27 05:13:21 +00:00
Jim Meyering 1a62ae1a5c . 1996-11-27 05:06:09 +00:00
Jim Meyering 952a4436eb (fraccompare): Add explicit int' in register' dcl, to
avoid new warning from gcc.
1996-11-27 05:05:52 +00:00
Jim Meyering a098f5b9b6 . 1996-11-27 05:04:48 +00:00
Jim Meyering 5d691b7b74 . 1996-11-27 05:00:15 +00:00
Jim Meyering 84ee79c745 Fix Franc,ois' name. From Karl B. 1996-11-25 14:36:18 +00:00
Jim Meyering 4b091b8a14 Fix Franc,ois' name. From Karl B. 1996-11-25 14:35:45 +00:00
Jim Meyering c51d0a5a9b . 1996-11-25 04:45:59 +00:00
Jim Meyering 29ea1d5db9 . 1996-11-25 04:42:37 +00:00
Jim Meyering b910477e63 . 1996-11-25 04:42:15 +00:00
Jim Meyering 2f74178b8b . 1996-11-25 03:15:46 +00:00
Jim Meyering fe171f7d8f . 1996-11-25 03:12:57 +00:00
Jim Meyering b0244698f9 . 1996-11-25 03:10:03 +00:00
Jim Meyering 7c0ec3e569 . 1996-11-25 03:09:33 +00:00
Jim Meyering 4677a7e42f (t): Add names of those 5 tests. 1996-11-25 03:09:22 +00:00
Jim Meyering 520f4efee9 Add 5 tests to exercize just-fixed code. 1996-11-25 03:08:52 +00:00
Jim Meyering 0d43bad18e (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.
1996-11-25 03:07:52 +00:00
Jim Meyering 0dd914edd1 . 1996-11-24 18:11:22 +00:00
Jim Meyering 161db26bd1 (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.
1996-11-24 18:06:35 +00:00
Jim Meyering a992c841ae Big patch from Karl Heuer. FIXME: fill in details 1996-11-24 17:03:24 +00:00
Jim Meyering 9299cf1e78 (EXTRA_DIST): Add getline.c now that getline
isn't mentioned in AC_REPLACE_FUNCS.
1996-11-24 05:38:29 +00:00
Jim Meyering 970083559f . 1996-11-24 05:27:21 +00:00
Jim Meyering 459453639e . 1996-11-24 05:21:39 +00:00
Jim Meyering 0e0ae2b348 remove trailing blanks 1996-11-24 03:05:11 +00:00
Jim Meyering cb7fcc32ff remove trailing blanks 1996-11-24 03:04:12 +00:00
Jim Meyering d7e8ccb6f3 (usage): Remove trailing pair of blanks. 1996-11-24 03:00:37 +00:00
Jim Meyering a811674834 . 1996-11-23 22:16:31 +00:00
Jim Meyering fa9f16326a (usage): Alphabetize option descriptions the way sort -f would. 1996-11-23 22:16:19 +00:00
Jim Meyering c13ff9b8bc . 1996-11-23 22:13:55 +00:00
Jim Meyering bded355394 (usage): Alphabetize option descriptions the way sort -f would. 1996-11-23 22:13:00 +00:00
Jim Meyering f43bd3fafc . 1996-11-23 22:10:08 +00:00
Jim Meyering e298f1f300 (usage): Alphabetize options like sort -f would. 1996-11-23 22:06:55 +00:00
Jim Meyering 8102404465 . 1996-11-23 05:04:56 +00:00
Jim Meyering bef51e36a4 . 1996-11-23 04:22:46 +00:00
Jim Meyering 5425625fb3 . 1996-11-23 04:16:43 +00:00
Jim Meyering 94d1ea4fa9 (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.
1996-11-23 04:15:35 +00:00
Jim Meyering 9645d076db . 1996-11-23 02:36:54 +00:00
Jim Meyering b683d9194f . 1996-11-23 02:36:09 +00:00
Jim Meyering 38da840313 (main): Warn if excess arguments are ignored.
E.g., printf foo bar now ignores the single non-format argument, bar.
1996-11-23 02:34:31 +00:00