summaryrefslogtreecommitdiff
path: root/src/tac.c
AgeCommit message (Collapse)Author
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
1999-07-04(memrchr): Ifdef out this unused function.Jim Meyering
1999-04-04Standardize --help and --version processing.Jim Meyering
1999-04-03Use AUTHORS in place of string in parse_long_options call.Jim Meyering
1999-04-03Insert AUTHORS definition.Jim Meyering
1999-04-03Use PROGRAM_NAME in place of string in parse_long_options call.Jim Meyering
1999-04-03define PROGRAM_NAMEJim Meyering
1999-03-13(tac_mem): `#if-0'-out this unused function.Jim Meyering
(tac_stdin_to_mem): Likewise.
1999-03-04Include long-options.hJim Meyering
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
1999-01-25(DONT_UNLINK_WHILE_OPEN) [__MSDOS__ || _WIN32]: Define.Jim Meyering
1999-01-14Don't prototype usage as static.Jim Meyering
1999-01-11All of the following new code is protected by `#if DONT_UNLINK_WHILE_OPEN'Jim Meyering
(file_to_remove): New global. (fp_to_close): New global. (unlink_tempfile): New function. (record_tempfile): New function. (save_stdin): Call record_tempfile. Use SET_BINARY. (main): Use SET_BINARY and SET_BINARY2. From Eli Zaretskii.
1998-12-13add comment about opening exclusivelyJim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-07-04Remove #ifdef around <regex.h> inclusion.Jim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-05-16(tac_seekable): Fix error in handling regex separators.Jim Meyering
1998-05-09(tac_seekable): Rename from tac_stream.Jim Meyering
Change `FILE *in' parameter to `int input_fd'. Adjust callers. Revert to using safe_read -- can't mix lseek and fread. And can't use fseek because it can't handle files larger than 2^32.
1998-05-07fix up compile warningsJim Meyering
1998-05-07Don't use safe_read. Use fread instead.Jim Meyering
Fix open and fdopen to agree that file is read/write: O_RDWR and "w+". This is required on at least solaris5.5.1.
1998-05-07add curliesJim Meyering
1998-05-07add some curly bracesJim Meyering
1998-05-07rename variableJim Meyering
1998-05-07(tac_stdin): Use STDIN_FILENO rather than literal `0' in fstat call.Jim Meyering
1998-04-12Use STREQ rather than strcmpJim Meyering
1998-04-11Include safe-read.h instead of merely declaring safe_read.Jim Meyering
1998-03-11(save_stdin): Open temporary file exclusively, toJim Meyering
foil a common denial-of-service attack. From Paul Eggert.
1998-01-10CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAXJim Meyering
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-08(tac_stream): Don't perform arithmetic on now-void pointerJim Meyering
result of xrealloc (until recently it was char*).
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-23Remove malloc, and realloc dcls.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-09-14Don't include signal.h.Jim Meyering
1997-02-12fixed off-by-one errorJim Meyering
1997-02-12FIXME: major revamp to use FILE*; passed a few more testsJim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Rename globals buffer and buffer_size to have G_ prefixJim Meyering
to avoid shadowing local variables.
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-01-30.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-04(main): update --version output againJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Call error with EXIT_FAILURE (rather than `1') as first actual parameter.Jim Meyering
1996-03-24Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.Jim Meyering
This doesn't change `error (1' calls.
1996-03-21(main): Declare to be of type int, not void.Jim Meyering