Commit Graph

4535 Commits

Author SHA1 Message Date
Jim Meyering 12782f54b0 *** empty log message *** 1998-01-10 11:56:26 +00:00
Jim Meyering fff6de7b04 *** empty log message *** 1998-01-10 11:54:39 +00:00
Jim Meyering cc76db2016 use sh-script test, not Test.pm framework 1998-01-10 11:27:24 +00:00
Jim Meyering 77c94909cf *** empty log message *** 1998-01-10 11:24:51 +00:00
Jim Meyering 3b8d19272d . 1998-01-10 11:00:46 +00:00
Jim Meyering 6099914170 *** empty log message *** 1998-01-10 10:36:41 +00:00
Jim Meyering 09d96ac539 (make_path): Reformat 3 if-stmts to test `if (newly_created_dir)' only once.
Suggestion from Andreas Schwab.
1998-01-10 10:28:37 +00:00
Jim Meyering 3edbca0e04 (make_path): Put only newly created directories on the LEADING_DIRS list. 1998-01-10 10:22:30 +00:00
Jim Meyering c062a35803 *** empty log message *** 1998-01-08 23:17:20 +00:00
Jim Meyering 3da029a5d9 *** empty log message *** 1998-01-08 23:16:14 +00:00
Jim Meyering de1dabf7d7 *** empty log message *** 1998-01-08 22:58:18 +00:00
Jim Meyering 03283b5000 (tac_stream): Don't perform arithmetic on now-void pointer
result of xrealloc (until recently it was char*).
1998-01-08 22:58:03 +00:00
Jim Meyering 9f5dc7e7d0 (inittables): Add && HAVE_NL_LANGINFO to the #if-test
guarding the nls month-checking code.
(nls_numeric_format): Remove unnecessary (and error-evoking w/SunOS' cc)
`unsigned' from dcls of text and lim.
(main): Cast lconvp->grouping to `unsigned char*' to appease SunOS's cc.
1998-01-08 22:56:45 +00:00
Jim Meyering ab9cd27938 *** empty log message *** 1998-01-07 07:45:46 +00:00
Jim Meyering c767a49741 *** empty log message *** 1998-01-06 23:53:50 +00:00
Jim Meyering 0fdd1b9130 Add %expect directive.
Move inclusion of getdate.h and dependent extern declarations down
so getdate.h's prototype follows the sometimes-enabled definition
of `const' to nothing.  Otherwise, the prototype wouldn't match
the definition because of the defined-away `const'.
(get_date): ANSI-fy definition.
From Kaveh Ghazi.
1998-01-06 23:53:33 +00:00
Jim Meyering f19ca6fe29 *** empty log message *** 1998-01-05 17:43:31 +00:00
Jim Meyering 6cc3cf776c (df_readable): New function.
(show_dev): If a value consists entirely of 1 bits, or is derived
from some other value that consists entirely of 1 bits, report "-".
Check inode and block counts more carefully for plausibility,
to avoid arithmetic overflow when computing percentages.
1998-01-05 17:43:00 +00:00
Jim Meyering e162abfc5b (get_fs_usage): Add parens. 1998-01-05 17:38:38 +00:00
Jim Meyering 866773c72a (PROPAGATE_ALL_ONES): New macro.
(get_fs_usage): If a value consists entirely of 1 bits,
propagate this info to the output by setting it to (uintmax_t) -1.
1998-01-05 17:33:54 +00:00
Jim Meyering 06bab849fc reindent a little 1998-01-05 10:11:08 +00:00
Jim Meyering ed0becde29 reformat comment, dcl fail, dirname 1998-01-05 10:09:24 +00:00
Jim Meyering 8d64a37a77 remove SPECIAL_BITS #ifdefs 1998-01-05 10:06:41 +00:00
Jim Meyering 0520188821 Add support for marty's -D option 1998-01-05 10:06:07 +00:00
Jim Meyering 05d9a7233b *** empty log message *** FILEUTILS-3_16j 1998-01-04 23:28:28 +00:00
Jim Meyering f664e44a2f *** empty log message *** 1998-01-04 23:27:12 +00:00
Jim Meyering 5705eaaee2 . 1998-01-04 22:54:19 +00:00
Jim Meyering 0e69432852 . 1998-01-04 22:46:40 +00:00
Jim Meyering 2d69426882 copyright 1998-01-04 22:46:23 +00:00
Jim Meyering 5d4f8ebdfd (main, usage): Check for write error to stdout before exiting.
Include "closeout.h".
1998-01-04 22:45:28 +00:00
Jim Meyering b246280c27 (parse_long_options): Check for write error to stdout before exiting. 1998-01-04 22:43:44 +00:00
Jim Meyering 60e021ee4e (libfu_a_SOURCES): Add closeout.c.
(noinst_HEADERS): Add closeout.h.
1998-01-04 22:42:38 +00:00
Jim Meyering 63c0f480ad Use a single enumerated type, Verbosity, instead of
the two booleans, verbose and changes_only.  This fixes a bug whereby
--change had the same effect as --verbose.
Plus Paul's close_stdout changes.
1998-01-04 22:41:02 +00:00
Jim Meyering e375f4e9c8 Use a single enumerated type, Verbosity, instead of
the two booleans, verbose and changes_only.  This fixes a bug whereby
--change had the same effect as --verbose.
1998-01-04 22:40:27 +00:00
Jim Meyering 109b9c5f94 . 1998-01-04 21:48:30 +00:00
Jim Meyering 126c1a40e5 . 1998-01-04 21:47:31 +00:00
Jim Meyering 2440fd8bac . 1998-01-03 22:53:52 +00:00
Jim Meyering 98b9c4bed7 . 1998-01-03 22:16:23 +00:00
Jim Meyering 40f708f534 . 1998-01-03 22:14:58 +00:00
Jim Meyering ebc5dc0b0c *** empty log message *** 1998-01-03 22:13:53 +00:00
Jim Meyering e0ed4e6a77 *** empty log message *** 1998-01-03 18:10:47 +00:00
Jim Meyering c24393e0fd *** empty log message *** 1998-01-03 18:09:23 +00:00
Jim Meyering e15db4ca81 *** empty log message *** 1998-01-03 16:47:35 +00:00
Jim Meyering 1059e96721 (show_dev): Treat `fsu.fsu_bavail == (unsigned long) -1'
just like `fsu.fsu_blocks == 0' as an indicator that usage information
is invalid.  This happens with Solaris-5.5.1 CD-ROM partitions.
1998-01-03 16:47:21 +00:00
Jim Meyering 234ea05171 *** empty log message *** 1998-01-03 14:40:33 +00:00
Jim Meyering 0fa007e352 *** empty log message *** 1998-01-03 12:03:01 +00:00
Jim Meyering 9e6b379dbf *** empty log message *** 1998-01-03 11:58:49 +00:00
Jim Meyering d46bab3a59 Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent.
1998-01-03 11:56:58 +00:00
Jim Meyering 541699c01c Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid
problems with Irix4's cc.  From Kaveh Ghazi.
1998-01-03 11:56:09 +00:00
Jim Meyering 23a8ea7992 *** empty log message *** FILEUTILS-3_16i 1998-01-02 23:18:08 +00:00