Jim Meyering
dba300a0d0
CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAX
...
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-10 22:12:03 +00:00
Jim Meyering
e211bb2aff
Remove old-style xmalloc and xrealloc decls.
1997-10-25 04:45:43 +00:00
Jim Meyering
3f3f566627
update bug-reporting address
1997-10-07 23:55:52 +00:00
Jim Meyering
dbc538f92b
update copyrights for 1997
1997-02-09 04:46:02 +00:00
Jim Meyering
e8bcfd934a
Move alloca-related preprocessor code into system.h.
1997-02-03 05:08:19 +00:00
Jim Meyering
e077b7593b
bracket bug address with <> and append a period
1997-02-01 04:24:58 +00:00
Jim Meyering
c2d2dec516
Compare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0' as last parameter in getopt_long call.
1997-02-01 02:00:04 +00:00
Jim Meyering
a8bcd782c4
update for changed xstrtou?l
1997-01-25 06:21:24 +00:00
Jim Meyering
e298f1f300
(usage): Alphabetize options like sort -f would.
1996-11-23 22:06:55 +00:00
Jim Meyering
5582e6dad3
change bug-reporting address
1996-11-03 03:16:27 +00:00
Jim Meyering
b8e689dc67
change bug-reporting address
1996-11-02 20:44:15 +00:00
Jim Meyering
f9cd2cf6e2
(decode_field_spec): Always give FIELD_INDEX a value.
...
This avoids spurious UMR from purify.
(prjoin): Add an assertion.
(add_field): Update assertion.
1996-10-31 23:55:04 +00:00
Jim Meyering
2c035a7cfd
(main): update --version output again
1996-10-04 04:28:35 +00:00
Jim Meyering
c609ba2d13
(usage): Tell where to report bugs.
1996-09-02 15:34:25 +00:00
Jim Meyering
59d334f4d4
update Copyright years for 1996
1996-04-24 04:50:53 +00:00
Jim Meyering
b4a20010e6
(decode_field_spec): Rename local variable `valid'
...
to invalid (and reverse sense) to avoid conflict with the
macro definition in /usr/include/locale.h on SunOS 4.1.3.
1996-04-13 18:11:43 +00:00
Jim Meyering
5d5979d9a8
(memcasecmp): Remove static definition of function.
...
Include memcasecmp.h instead.
1996-04-10 03:47:28 +00:00
Jim Meyering
818d29db9b
Call error with EXIT_FAILURE (rather than `1') as first actual parameter.
1996-03-24 16:59:11 +00:00
Jim Meyering
47f70113d4
Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.
...
This doesn't change `error (1' calls.
1996-03-24 14:58:01 +00:00
Jim Meyering
adb7c216b2
(main): Declare to be of type int, not void.
1996-03-21 22:41:04 +00:00
Jim Meyering
4229a555fc
Don't include version.h.
...
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16 22:30:54 +00:00
Jim Meyering
d385bbc985
(memcasecmp): Declare local I to be unsigned to avoid warning from gcc -Wall.
1996-03-09 20:24:01 +00:00
Jim Meyering
715765a548
(main): Initialize for internationalized message support: call setlocale,
...
bindtextdomain, and textdomain.
1996-03-09 20:19:13 +00:00
Jim Meyering
756fe67e60
(xfields) [without -t]: Ignore leading blanks.
...
From David Dyck (dcd@tc.fluke.COM ).
1996-02-22 00:58:12 +00:00
Jim Meyering
28a24ea3be
[TOLOWER]: Define.
...
(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-18 18:08:01 +00:00
Jim Meyering
73d5e9c5dd
Mark a few error strings for translation.
...
From Franc,ois Pinard.
1996-02-17 03:42:26 +00:00
Jim Meyering
7956c15081
s/non-zero/nonzero/g
1995-11-27 03:09:18 +00:00
Jim Meyering
82eae6c9b5
(join): Protoize. Somehow, protoize missed this one.
1995-11-05 16:58:15 +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
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
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
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
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
92c50e7f52
Annotate localizable strings with _(...). From Franc,ois.
1995-08-07 14:57:29 +00:00
Jim Meyering
86671a4ed0
Undefine min and/or max before defining to avoid redefinition warning
...
on systems.
1995-06-24 21:10:12 +00:00
Jim Meyering
4afe3f334a
[join]: Redefine. Otherwise, systems (Unicos for one) with
...
headers that have a different prototype for `join' get an error.
1995-06-22 04:03:33 +00:00
Jim Meyering
6ebaf82426
merge with 1.12
1995-06-18 19:33:31 +00:00
Jim Meyering
9584732376
(add_field_list): Compute max once for each call to add_field.
1995-05-28 20:12:24 +00:00
Jim Meyering
88daaaf385
(main): Call make_blank after *all* argument processing.
...
Get rid of blank1, blank2. Just use uni_blank instead.
1995-05-28 19:46:04 +00:00
Jim Meyering
5c08b11b30
Overhaul so -a1 and -a2 (as used in cnews) work.
1995-05-28 18:01:54 +00:00
Jim Meyering
7f9311c20e
merge with 1.11.1b
1995-05-21 11:44:22 +00:00
Jim Meyering
7cdc7a0bd9
(usage): Include one- or two-line synopsis in --help output.
...
From Karl Berry.
1995-05-13 18:34:54 +00:00
Jim Meyering
eba8aab7f2
add 1995 to Copyright dates
1995-03-09 22:20:59 +00:00
Jim Meyering
7323b7d9f2
Include "error.h" instead of simply declaring `void error ();'.
1994-12-16 05:42:47 +00:00
Jim Meyering
5356de1df7
Rewriting to help it pass a reasonable suite of tests.
1994-11-16 13:10:34 +00:00