Commit Graph
4565 Commits
Author SHA1 Message Date
Jim Meyering 74cf3e8bab Set errno to ENOENT, not EINVAL. This is consistent
with most other implementations.
1998-01-13 10:08:11 +00:00
Jim Meyering ca50e875af *** empty log message *** 1998-01-13 09:53:15 +00:00
Jim Meyering a75ea1014e *** empty log message *** 1998-01-12 09:00:10 +00:00
Jim Meyering 98af2e9636 *** empty log message *** 1998-01-12 08:55:42 +00:00
Jim Meyering 68e5877403 *** empty log message *** 1998-01-12 08:55:01 +00:00
Jim Meyering 2b906615c2 *** empty log message *** 1998-01-12 08:53:18 +00:00
Jim Meyering 443f852f61 Include sys/param.h only #if HAVE_SYS_PARAM_H.
Move function-spanning `#if ...BSIZE' stmt to follow inclusion of
sys/param.h since BSIZE is sometimes defined in sys/param.h.
Based on a patch from Philippe De Muyter.
1998-01-12 08:13:39 +00:00
Jim Meyering d1f4e617b5 *** empty log message *** TEXTUTILS-1_22d 1998-01-11 09:24:17 +00:00
Jim Meyering 1aa070dd2e . FILEUTILS-3_16k 1998-01-11 09:14:29 +00:00
Jim Meyering 007e81132a . 1998-01-11 09:14:02 +00:00
Jim Meyering 6bcfff640e *** empty log message *** 1998-01-11 09:12:30 +00:00
Jim Meyering aa2880362c . 1998-01-11 08:02:39 +00:00
Jim Meyering 88bd90109b *** empty log message *** 1998-01-10 22:13:49 +00:00
Jim Meyering dba300a0d0 CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAX
Remove definitions of those symbols.
* src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h
since it now includes limit.h which defines RE_DUP_MAX.
* src/nl.c: Likewise.
* src/tac.c: Likewise.
1998-01-10 22:12:03 +00:00
Jim Meyering b9ed71e46e . 1998-01-10 20:53:56 +00:00
Jim Meyering 7bba3e945f initialize fail to 0 1998-01-10 16:25:46 +00:00
Jim Meyering 1bdfcabd2c . 1998-01-10 16:24:46 +00:00
Jim Meyering c88a4c91da (EXTRA_DIST): Add const.m4. 1998-01-10 16:24:26 +00:00
Jim Meyering 136f2fd28c . 1998-01-10 15:57:57 +00:00
Jim Meyering 82739833a1 *** empty log message *** 1998-01-10 15:09:46 +00:00
Jim Meyering 1c5c2597b5 *** empty log message *** 1998-01-10 15:08:00 +00:00
Jim Meyering eacbf12ea4 *** empty log message *** 1998-01-10 15:04:32 +00:00
Jim Meyering 0ccdf3419d (usage): Describe -D. 1998-01-10 15:03:58 +00:00
Jim Meyering cec85a4b3a . 1998-01-10 14:25:27 +00:00
Jim Meyering a077a7833c *** empty log message *** 1998-01-10 14:23:08 +00:00
Jim Meyering a3094b0529 (batch_convert): Use memcpy when we don't need return value. 1998-01-10 14:21:35 +00:00
Jim Meyering d73dd15544 . 1998-01-10 13:36:47 +00:00
Jim Meyering 27c1ad9576 *** empty log message *** 1998-01-10 13:36:09 +00:00
Jim Meyering 2eefbf7647 (usage): Correct descriptions of --sort, --time, and -t.
Suggestions from Andreas Schwab.
1998-01-10 12:53:09 +00:00
Jim Meyering 79d39ab7bf (decode_switches) [-u]: Fix bug whereby -u had no effect
without -l or -t.  Now, -u (like -c) implies --sort=time.
Suggestion from Andreas Schwab.
1998-01-10 12:07:50 +00:00
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