summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1995-11-15(*format_address): Tweak dcl.Jim Meyering
1995-11-15[__P]: Don't define it here.Jim Meyering
1995-11-15Use __P.Jim Meyering
1995-11-15.Jim Meyering
1995-11-15.Jim Meyering
1995-11-15.Jim Meyering
1995-11-15(sort, -g): Document it.Jim Meyering
(join, new `0' format): Likewise.
1995-11-15Add support for sorting numbers in scientific notation.Jim Meyering
Include xstrtod.h. (struct keyfield): Add field: general_numeric. (usage): Describe -g option. (general_numcompare): New function. (keycompare): Use new comparison function when general_numeric flag is set. (set_ordering): Honor `g' flag. (main): Initialize and use new field. From Marcus Daniels <marcus@sysc.pdx.edu>.
1995-11-15Break long lines.Jim Meyering
1995-11-15Indent.Jim Meyering
1995-11-15.Jim Meyering
1995-11-15(cleanup): Don't exit.Jim Meyering
(cleanup_fatal): New function. Call cleanup, then exit. (sighandler): New function. (cleanup_fatal): Renamed from cleanup. Call cleanup, then exit. Update callers. (tac_stdin): Set up sighandler as signal handler, not `cleanup'.
1995-11-15(cleanup): Don't exit.Jim Meyering
(cleanup_fatal): New functoin. Call cleanup, then exit. (interrupt_handler): Rewrite to reset default signal handler then repost caught signal. (xmalloc, xrealloc, read_input, write_to_file, handle_line_error, process_line_count, process_regexp, create_output_file, close_output_file): Call cleanup_fatal, not cleanup. Add const attribute to lots of parameters.
1995-11-11.Jim Meyering
1995-11-11(skip): Cast fseek's offset argument to `long'.Jim Meyering
Erik Bennett <bennett@cvo.oneworld.com> reported that this is necessary on BSDI systems. And if offset doesn't fit in a long, then try using lseek instead.
1995-11-11.Jim Meyering
1995-11-11(xmalloc): Declare static.Jim Meyering
(xrealloc): Likewise.
1995-11-11.Jim Meyering
1995-11-11(cleanup): Add signal number parameter.Jim Meyering
Update callers.
1995-11-11.Jim Meyering
1995-11-11.Jim Meyering
1995-11-11(main): Don't die when dev/ino of input and output areJim Meyering
the same and the file descriptors correspond to stdin and stdout. This is necessary on at least Digital UNIX (aka OSF1) 3.2C. Otherwise, running `cat << X > $$' would fail with `cat: -: input file is output file'. From Jarkko Hietaniemi <jhi@epsilon.hut.fi>.
1995-11-11Add __P in dcl of format_address function.Jim Meyering
1995-11-11(usage): Clarify meaning of --spaces.Jim Meyering
1995-11-10Don't include error.h here.Jim Meyering
1995-11-10.Jim Meyering
1995-11-10Protect prototyped forward dcls with __P.Jim Meyering
1995-11-10(parse_ls_color): Use strcpy to initialize 3-character array.Jim Meyering
Automatic aggregate initialization isn't portable.
1995-11-10Remove fwd dcls.Jim Meyering
1995-11-10Don't protoize dcl of basename.Jim Meyering
1995-11-10Don't protoize dcl of basename.Jim Meyering
1995-11-10Don't protoize dcls of getpwnam and getgrnam.Jim Meyering
1995-11-10Remove bogus __P junk on xstat dcl.Jim Meyering
1995-11-10Don't protoize fwd dcl of dirname.Jim Meyering
1995-11-10.Jim Meyering
1995-11-10Protoize and add const attribute to parameters.Jim Meyering
1995-11-10Include error.h.Jim Meyering
1995-11-10Remove prototypes for stat, lstat.Jim Meyering
1995-11-10[__P]: Define it.Jim Meyering
1995-11-10.Jim Meyering
1995-11-10.Jim Meyering
1995-11-10(main): Move to the end.Jim Meyering
Remove fwd dcls.
1995-11-10(main): Move to the end.Jim Meyering
Remove fwd dcls.
1995-11-09Rearrange functions to obviate forward dcls.Jim Meyering
Remove forward dcls.
1995-11-09(main): Move to the end.Jim Meyering
Remove fwd dcls.
1995-11-09(main): Move to the end.Jim Meyering
Remove fwd dcls.
1995-11-09Protect prototypes with __P.Jim Meyering
1995-11-09Protect prototypes with __P.Jim Meyering
1995-11-09(main): Move to the end.Jim Meyering
Remove most fwd dcls.
1995-11-09(main): Move to the end.Jim Meyering
Remove most fwd dcls.