Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering fc2e23b1ad [HAVE_ENDGRENT]: Define away endgrent.
[HAVE_ENDPWENT]: Define away endpwent.
1995-10-18 15:59:12 +00:00
Jim Meyering 1cde2ceb5c Use _POSIX_VERSION, not _POSIX_SOURCE. 1995-10-18 15:57:50 +00:00
Jim Meyering 539457f1ae Merge latest change from FSF. 1995-10-18 14:31:14 +00:00
Jim Meyering b6ff24fb7f Get latest from FSF. 1995-10-18 14:29:16 +00:00
Jim Meyering da20dc044a . 1995-10-18 03:48:29 +00:00
Jim Meyering a42c7fe2d1 Prootize. 1995-10-18 03:45:44 +00:00
Jim Meyering b792f7aa0e Add `const' attribute to dcls of lots of formals. 1995-10-17 14:01:00 +00:00
Jim Meyering 9242af95a3 Protoize. 1995-10-17 13:49:32 +00:00
Jim Meyering 9583179c1b Protoize. 1995-10-17 13:47:48 +00:00
Jim Meyering d9dee002e6 Reorder functions to obviate forward dcls. Remove forward dcls. 1995-10-17 13:43:00 +00:00
Jim Meyering 434b809272 Reorder functions to obviate forward dcls. Remove forward dcls. 1995-10-17 13:39:44 +00:00
Jim Meyering 4feb3b1e06 Protoize. Reorder functions to obviate forward dcls. Remove forward dcls. 1995-10-17 13:35:26 +00:00
Jim Meyering 14390d1fed Protoize. Reorder functions to obviate forward dcls.
Remove forward dcls.
1995-10-17 13:13:19 +00:00
Jim Meyering 8831ffbec4 Protoize.
Reorder functions to obviate forward dcls.
Remove forward dcls.
1995-10-16 21:30:25 +00:00
Jim Meyering 45d4def5e4 Move struct dcls to precede dcls of file-scope variables.
(monthtab, keyhead): Separate variable dcls from type dcls.
1995-10-16 14:45:09 +00:00
Jim Meyering b9c1393e5f (usage): Move function definition to precede uses and
remove remove forward dcl.
Protoize and add `const' attribute to dcls of lots of formals.
1995-10-16 14:38:11 +00:00
Jim Meyering c5bf4b6c9c . 1995-10-14 01:39:01 +00:00
Jim Meyering 3ac64eda17 (prjoin): Handle case in which file spec is 0.
(add_field): Update assertions.
(decode_field_spec): For S == "0", set file spec to zero and don't modify
*FIELD_INDEX.  Otherwise, *FIELD_INDEX gets the zero-based index.
1995-10-13 17:22:58 +00:00
Jim Meyering 148f37c34e Add tests to exercize -o 0. 1995-10-13 17:16:48 +00:00
Jim Meyering 9845d179b3 (prjoin): Rewrite loop that iterates over field specs. 1995-10-13 13:16:34 +00:00
Jim Meyering 11b87d29cc (add_field_list): Allow SPACE and TAB as well as `,' as list item separators. 1995-10-12 21:42:52 +00:00
Jim Meyering bc7210e563 Remove bogus FIXME. 1995-10-12 04:08:35 +00:00
Jim Meyering e1ab53f969 . 1995-10-09 13:59:55 +00:00
Jim Meyering 790196a645 . 1995-10-09 13:59:25 +00:00
Jim Meyering b5c8c81d4d Indent cpp directives to reflect nesting. 1995-10-09 03:48:08 +00:00
Jim Meyering 91a709b210 Modified from glibc copy. 1995-10-09 03:46:41 +00:00
Jim Meyering 5e25ee19e4 (SOURCES): Add strpbrk.c..
Remove bcopy.c.
1995-10-09 03:42:21 +00:00
Jim Meyering 70390f60ec . 1995-10-09 03:42:11 +00:00
Jim Meyering c22889019c . 1995-10-08 04:02:09 +00:00
Jim Meyering 06ea91f2f3 (main): Close input files. 1995-10-08 04:02:00 +00:00
Jim Meyering 3c7699600f Add alloca junk. 1995-10-08 03:38:09 +00:00
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