Commit Graph
15857 Commits
Author SHA1 Message Date
Jim Meyering c8c90bb532 . 1995-10-08 03:30:22 +00:00
Jim Meyering 6f63d53e1b (add_field): No longer return a value.
(decode_field_spec): New function.
(add_field_list): Rewrite to be more strict about what is accepted.
Before, `,1.2' was accepted as valid.
(main): Use xstrtol instead atoi.
Combine nearly identical -a and -v cases.
1995-10-08 03:28:21 +00:00
Jim Meyering cd1dbbcfc1 . 1995-10-06 19:23:31 +00:00
Jim Meyering 4bbadbb14a . 1995-10-06 02:55:44 +00:00
Jim Meyering cc61df7131 Include limits.h.
[!INT_MAX]: Define it.
1995-10-06 02:55:14 +00:00
Jim Meyering 965c0bf39d [!HAVE_UTIME_H]: Don't declare struct utimbuf here.
[!HAVE_STRUCT_UTIMBUF]: Declare struct utimbuf here instead.
1995-10-06 02:53:42 +00:00
Jim Meyering 6fc3c211ec . 1995-10-06 02:51:04 +00:00
Jim Meyering c25dcdd843 (read_filesystem_list): Cast -1 to dev_t before assignment. 1995-10-05 14:14:45 +00:00
Jim Meyering e387fd1471 (show_point): Cast -2 to dev_t before assignment. 1995-10-05 14:12:29 +00:00
Jim Meyering 1c7bc6028a protoize 1995-10-04 21:21:23 +00:00
Jim Meyering 74f061de82 Remove forward dcl of usage. 1995-10-04 21:20:40 +00:00
Jim Meyering 47b91b8948 (usage): Move to precede all other functions. 1995-10-04 21:19:28 +00:00
Jim Meyering 2d73c959cc (main): Report `too few/many non-option arguments' then print --help
output rather than just the latter.
Properly interpret obsolescent usage like `join -o 2.1 2.1 2.2'.
(usage): Describe POSIX -1, -2 options and deprecate -j* ones
1995-10-04 21:17:43 +00:00
Jim Meyering 9a17340b10 . 1995-10-04 03:46:43 +00:00
Jim Meyering a9de4d485a Test SA_INTERRUPT, not _POSIX_VERSION,
to determine whether `sigaction' functions are available.
Reported by Paul Nevai <nevai@ops.mps.ohio-state.edu>.
Fix suggested by Karl Berry.
1995-10-04 03:46:35 +00:00
Jim Meyering 111cb717e8 (set_fields): Use memset (not open coded loop) to initialize array. 1995-10-03 20:28:44 +00:00
Jim Meyering 6a45f61547 Convert a lot of int' types to unsigned int' to avoid warnings from
`gcc -Wall' about comparing signed and unsigned types.
1995-10-03 20:21:32 +00:00
Jim Meyering 026d10d369 (main): Declare counter, N_STRINGS, to be an integral type, not `char'. 1995-10-03 20:18:39 +00:00
Jim Meyering d832bf77eb Correct typos, mostly from Jens Schweikhardt. 1995-10-03 19:05:47 +00:00
Jim Meyering de97a7099c .c 1995-10-01 22:50:25 +00:00
Jim Meyering 1d15980fb6 Remove trailing whitespace. 1995-10-01 22:49:07 +00:00
Jim Meyering b3303ba072 Declare stat, xstat. 1995-10-01 22:40:11 +00:00
Jim Meyering eddb25aa26 Declare stat, xstat. 1995-10-01 20:17:25 +00:00
Jim Meyering 40c6966137 (SOURCES): Add strtoul. 1995-10-01 19:02:29 +00:00
Jim Meyering 4de6eab547 (get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Copy untruncated block
counts from f_spare array into proper members of struct statfs.
From Eirik Fuller (eirik@netapp.com);
1995-10-01 18:23:29 +00:00
Jim Meyering caa2df2274 . TEXTUTILS-1_13 1995-09-29 04:50:31 +00:00
Jim Meyering 4c8c0b69ba . 1995-09-29 04:49:08 +00:00
Jim Meyering 527d04d44b (dired_dump_obstack): Don't generate any output if the obstack is empty.
(main): Always initialize and dump subdired_obstack, not just if -R.
`ls -lDR dir dir2' was using uninitialized subdired_obstack.
Reported by Samuli K{rkk{inen <hskarkka@snakemail.hut.fi>.
1995-09-29 04:09:22 +00:00
Jim Meyering 9a12d05216 (decode_one_format): Remove spurious semicolon. 1995-09-27 15:58:18 +00:00
Jim Meyering 77c46a6b42 . 1995-09-27 04:06:28 +00:00
Jim Meyering 744393f0f4 (show_point): Ignore mtab entries with either
nonexistent mount points or with inconsistent device number.
From Eirik Fuller <eirik@synopsys.com>.
1995-09-26 04:18:55 +00:00
Jim Meyering 6f200d7982 . 1995-09-25 04:14:36 +00:00
Jim Meyering 12e85d31e2 Protoize. 1995-09-24 13:36:13 +00:00
Jim Meyering 17821cc15e [REL_ALLOC]: #ifdef-out dcls of unused variables. TEXTUTILS-1_12_2 1995-09-23 20:55:02 +00:00
Jim Meyering 0bcd6e68a9 . 1995-09-23 20:46:22 +00:00
Jim Meyering 528390fa58 (print_kth): Change order of args in compare, and reverse sense of comparison
(Hence, no semantic change).
1995-09-23 20:42:52 +00:00
Jim Meyering a719a87508 Merge in changes for ConvexOS 11.0. 1995-09-23 20:28:39 +00:00
Jim Meyering a1fa4eff25 New version from FSF. 1995-09-23 20:28:10 +00:00
Jim Meyering f344b7fab6 (md5_check): Distinguish between open/read failure and checksum mismatch. 1995-09-23 20:22:05 +00:00
Jim Meyering eca98f76ac . 1995-09-23 20:21:22 +00:00
Jim Meyering f30618bac7 . 1995-09-23 20:09:52 +00:00
Jim Meyering dc4a18b537 . 1995-09-23 19:56:32 +00:00
Jim Meyering 9801e9cde1 Update to reflect changes in md5sum.c.
Add FIXME with Karl's comm suggestion.
1995-09-21 18:17:14 +00:00
Jim Meyering 1b16c152bd (main): Reverse order of check' and compute sums' blocks in if-else
chain to make it a little more readable.
1995-09-20 12:47:37 +00:00
Jim Meyering 3ed71a2fdd . 1995-09-19 14:30:59 +00:00
Jim Meyering 0e15d57a89 Rewrite confusing comment. 1995-09-19 12:59:49 +00:00
Jim Meyering c253d247ca (checkfp): Rearrange loop to avoid duplicate test.
Move a couple dcls from function scope into inner block.
1995-09-19 12:50:34 +00:00
Jim Meyering 656fac3d80 . 1995-09-19 12:48:46 +00:00
Jim Meyering dde2c138e9 Protoize. 1995-09-18 12:44:47 +00:00
Jim Meyering 7823351d6b (main, usage): Remove -h, -s, -v short options.
Rename --verbose to --warn, --quiet to --status.
(main): Handle --help and --version using parse_long_options.
(md5_check): Check ferror.
1995-09-18 12:36:12 +00:00