Jim Meyering
3a62f8785f
(cat): Convert comma-expressions to pairs of
...
semicolon-terminated stmts.
Add braces around compound if/else stmts.
1998-01-25 08:25:05 +00:00
Jim Meyering
e211bb2aff
Remove old-style xmalloc and xrealloc decls.
1997-10-25 04:45:43 +00:00
Jim Meyering
d4899bad7e
Remove stpcpy dcl.
1997-10-23 14:28:31 +00:00
Jim Meyering
3ea2606e41
indent cpp directives to reflect nesting
1997-10-07 23:58:29 +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
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
e298f1f300
(usage): Alphabetize options like sort -f would.
1996-11-23 22:06:55 +00:00
Jim Meyering
2e55854100
change bug-reporting address
1996-11-03 03:16:23 +00:00
Jim Meyering
17c0c658f1
change bug-reporting address
1996-11-02 20:44:52 +00:00
Jim Meyering
630b771f1b
(main): update --version output again
1996-10-04 04:25:46 +00:00
Jim Meyering
3361bd2bca
(main): update --version output to conform to coding standard
1996-10-04 04:15:08 +00:00
Jim Meyering
39c406f18a
.
1996-10-01 01:10:54 +00:00
Jim Meyering
c609ba2d13
(usage): Tell where to report bugs.
1996-09-02 15:34:25 +00:00
Jim Meyering
41e757beb6
(cat): Cast first arg to stpcpy to char*.
1996-08-24 19:28:27 +00:00
Jim Meyering
9da759a317
(main): Use STDIN_FILENO and STDOUT_FILENO instead of less portable fileno(*).
1996-05-28 01:42:07 +00:00
Jim Meyering
59d334f4d4
update Copyright years for 1996
1996-04-24 04:50:53 +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
715765a548
(main): Initialize for internationalized message support: call setlocale,
...
bindtextdomain, and textdomain.
1996-03-09 20:19:13 +00:00
Jim Meyering
7956c15081
s/non-zero/nonzero/g
1995-11-27 03:09:18 +00:00
Jim Meyering
24aec7f87f
(main): Don't die when dev/ino of input and output are
...
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-11 14:21:15 +00:00
Jim Meyering
de4de17bc5
(usage, next_line_num, main): Protoize.
1995-10-31 02:22:23 +00:00
Jim Meyering
14390d1fed
Protoize. Reorder functions to obviate forward dcls.
...
Remove forward dcls.
1995-10-17 13:13:19 +00:00
Jim Meyering
0e15d57a89
Rewrite confusing comment.
1995-09-19 12:59:49 +00:00
Jim Meyering
92c50e7f52
Annotate localizable strings with _(...). From Franc,ois.
1995-08-07 14:57:29 +00:00
Jim Meyering
0e7bce124f
reformat comment
1995-07-21 06:27:39 +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
6ebaf82426
merge with 1.12
1995-06-18 19:33:31 +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
9a915d886e
(cat): Use memmove rather than bcopy.
1995-01-28 04:45:19 +00:00
Jim Meyering
8d6c6946dd
Include "error.h" instead of simply declaring `void error ();'.
1994-12-16 05:41:05 +00:00
Jim Meyering
c6411b91f5
(cat): Conditionalize test for errno == ENOSYS. It's not
...
defined on some Next and Alliant systems. From Kaveh Ghazi.
1994-11-02 05:21:37 +00:00
Jim Meyering
544baf5482
merge with 1.9.1h
1994-10-19 03:39:33 +00:00
Jim Meyering
85842e28eb
.
1994-04-13 17:12:17 +00:00
Jim Meyering
8bf5a6ed18
.
1994-03-25 23:38:00 +00:00
Jim Meyering
07cd9a8d15
safe_read and full_write + join patch
1994-01-09 03:47:21 +00:00
Jim Meyering
b869639f46
merge with 1.8d+
1993-10-23 15:37:19 +00:00
Jim Meyering
d1df8c198d
merge with 1.8d
1993-10-21 22:08:53 +00:00
Jim Meyering
712109716a
merge with 1.8a
1993-10-05 18:29:39 +00:00
Jim Meyering
6587c39b3a
merge with 1.5.2
1993-05-22 05:06:39 +00:00
Jim Meyering
9a96f7c461
merge with 1.5
1993-05-07 03:09:55 +00:00
Jim Meyering
2ff4fc1672
add --version and --help
1993-04-29 05:26:22 +00:00
Jim Meyering
b1770970a8
fix two typos
1993-03-22 02:31:33 +00:00
Jim Meyering
eb3a2516db
Convert static declarations of struct option to use new macros from
...
getopt.h: no_argument, required_argument, and optional_argument.
1992-12-02 18:31:56 +00:00
Jim Meyering
925487607c
Declared lots of external functions and variables static.
...
Made several statically-initialized arrays `const'
1992-11-08 20:19:58 +00:00