summaryrefslogtreecommitdiff
path: root/src/tac.c
AgeCommit message (Collapse)Author
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
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-09(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1995-12-06[!WITH_REGEX]: Include rx.h.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim 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-11(cleanup): Add signal number parameter.Jim Meyering
Update callers.
1995-10-29(xwrite): Give output buffer parameter const attribute.Jim Meyering
(output): Likewise for both parameters. (tac): Likewise for file name parameter. (tac_file): Likewise.
1995-10-29protoize.Jim Meyering
1995-10-29Reorder functions to obviate forward dcls.Jim Meyering
Remove forward dcls.
1995-10-04Test SA_INTERRUPT, not _POSIX_VERSION,Jim Meyering
to determine whether `sigaction' functions are available. Reported by Paul Nevai <nevai@ops.mps.ohio-state.edu>. Fix suggested by Karl Berry.
1995-08-07Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-06-18merge with 1.12Jim Meyering
1995-05-13(usage): Include one- or two-line synopsis in --help output.Jim Meyering
From Karl Berry.
1995-05-05(save_stdin): Don't hard-code /tmp.Jim Meyering
[DEFAULT_TMPDIR]: Use this instead.
1995-03-09add 1995 to Copyright datesJim Meyering
1995-01-28(tac): Use memmove instead of bcopy.Jim Meyering
(output): Use memcpy instead of bcopy.
1994-12-16Include "error.h" instead of simply declaring `void error ();'.Jim Meyering
1994-11-17(output): Use STDOUT_FILENO instead of `1' in xwrite call.Jim Meyering
1994-10-19merge with 1.9.1hJim Meyering
1994-06-22.Jim Meyering
1994-04-13.Jim Meyering
1994-01-11Revert last change -- timing showed 10% speedup w/o stream I/O.Jim Meyering
1994-01-11Use fwrite insted of write.Jim Meyering
1994-01-09safe_read and full_write + join patchJim Meyering
1993-11-15merge with 1.9.1Jim Meyering