summaryrefslogtreecommitdiff
path: root/src/join.c
AgeCommit message (Collapse)Author
1998-04-26Do not define _GNU_SOURCE and/or NDEBUGJim Meyering
1998-04-17(xfields): Used unsigned char* pointers to avoidJim Meyering
1998-04-12Use STREQ rather than strcmpJim Meyering
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.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-03Move alloca-related preprocessor code into system.h.Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
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-25update for changed xstrtou?lJim Meyering
1996-11-23(usage): Alphabetize options like sort -f would.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-31(decode_field_spec): Always give FIELD_INDEX a value.Jim Meyering
This avoids spurious UMR from purify. (prjoin): Add an assertion. (add_field): Update assertion.
1996-10-04(main): update --version output againJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-04-24update Copyright years for 1996Jim Meyering
1996-04-13(decode_field_spec): Rename local variable `valid'Jim Meyering
to invalid (and reverse sense) to avoid conflict with the macro definition in /usr/include/locale.h on SunOS 4.1.3.
1996-04-10(memcasecmp): Remove static definition of function.Jim Meyering
Include memcasecmp.h instead.
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(memcasecmp): Declare local I to be unsigned to avoid warning from gcc -Wall.Jim Meyering
1996-03-09(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-02-22(xfields) [without -t]: Ignore leading blanks.Jim Meyering
From David Dyck (dcd@tc.fluke.COM).
1996-02-18[TOLOWER]: Define.Jim Meyering
(usage): Briefly describe new --ignore-case (-i) option. (memcasecmp): New function. (main): Set IGNORE_CASE for -i. (keycmp): Compare with memcasecmp if IGNORE_CASE is set. Suggestion and an initial patch from Alberto Accomazzi <alberto@cfa0.harvard.edu>.
1996-02-17Mark a few error strings for translation.Jim Meyering
From Franc,ois Pinard.
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-05(join): Protoize. Somehow, protoize missed this one.Jim Meyering
1995-10-13(prjoin): Handle case in which file spec is 0.Jim Meyering
(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(prjoin): Rewrite loop that iterates over field specs.Jim Meyering
1995-10-12(add_field_list): Allow SPACE and TAB as well as `,' as list item separators.Jim Meyering
1995-10-08(main): Close input files.Jim Meyering
1995-10-08Add alloca junk.Jim Meyering
1995-10-08(add_field): No longer return a value.Jim Meyering
(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-04protoizeJim Meyering
1995-10-04Remove forward dcl of usage.Jim Meyering
1995-10-04(usage): Move to precede all other functions.Jim Meyering
1995-10-04(main): Report `too few/many non-option arguments' then print --helpJim Meyering
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-08-07Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-06-24Undefine min and/or max before defining to avoid redefinition warningJim Meyering
on systems.
1995-06-22[join]: Redefine. Otherwise, systems (Unicos for one) withJim Meyering
headers that have a different prototype for `join' get an error.
1995-06-18merge with 1.12Jim Meyering
1995-05-28(add_field_list): Compute max once for each call to add_field.Jim Meyering
1995-05-28(main): Call make_blank after *all* argument processing.Jim Meyering
Get rid of blank1, blank2. Just use uni_blank instead.
1995-05-28Overhaul so -a1 and -a2 (as used in cnews) work.Jim Meyering
1995-05-21merge with 1.11.1bJim Meyering
1995-05-13(usage): Include one- or two-line synopsis in --help output.Jim Meyering
From Karl Berry.