Jim Meyering
9b8fe62dc8
Add `case 0' to getopt_long switch.
1993-04-05 15:50:18 +00:00
Jim Meyering
d059fe157a
(main): Explicitly cast -1 to [ug]id_t to avoid compiler warnings.
1993-04-04 23:42:37 +00:00
Jim Meyering
7db02117a9
(do_link): Explicitly cast alloca return value to (char *).
1993-04-04 21:50:19 +00:00
Jim Meyering
dc903be45e
(do_move): Explicitly cast alloca return value to (char *).
1993-04-04 21:49:36 +00:00
Jim Meyering
223b1d7604
(copy, make_path, re_protect): Explicitly cast alloca return value to (char *).
1993-04-04 21:48:43 +00:00
Jim Meyering
0f1b91f942
(copy): Declare to be static.
1993-04-04 15:05:24 +00:00
Jim Meyering
a92a94f719
(usage): Mention --help and --version.
...
(main): Handle flag_help and flag_version before checking for invocation errors.
1993-04-04 14:41:38 +00:00
Jim Meyering
2469b27db0
remove blank line
1993-04-04 00:56:09 +00:00
Jim Meyering
6b9e1727c8
Convert usage to take no arguments.
1993-04-02 04:35:26 +00:00
Jim Meyering
ee871dbed8
Add --help and --version options.
1993-04-02 04:26:26 +00:00
Jim Meyering
0a6061f1f9
Move some dcls before first function.
...
Add --help and --version options.
1993-04-02 04:26:04 +00:00
Jim Meyering
5c9a84b610
Define isascii macro to be 1 also if STDC_HEADERS.
1993-04-01 04:21:00 +00:00
Jim Meyering
def996ca60
Define isascii macro to be 1 also if STDC_HEADERS.
1993-04-01 04:12:31 +00:00
Jim Meyering
d24f7571cc
Add --version, --help options.
1993-04-01 04:02:20 +00:00
Jim Meyering
0f8d90bd48
sort changes from Mike
1993-03-31 06:27:07 +00:00
Jim Meyering
a3dc0b45fc
(parse_old_offset): Allow 0X' as well as 0x' prefix to indicate hex.
1993-03-31 03:44:09 +00:00
Jim Meyering
6cc9334011
Add -G,--no-group option to inhibit display of group infomation.
1993-03-31 02:50:42 +00:00
Jim Meyering
56b1029ccf
Always call error with errno (not zero) after failed fclose or non-zero ferror.
1993-03-30 03:32:10 +00:00
Jim Meyering
86a2a3f5f6
.
1993-03-30 02:22:06 +00:00
Jim Meyering
80f8bd8e8c
merge with 3.4.1
1993-03-29 05:09:09 +00:00
Jim Meyering
4e66f13a79
(add_omitted_fs_type, fs_to_omit): New functions adding
...
support for --exclude-type option. From Kaveh R. Ghazi
<ghazi@caip.rutgers.edu >.
1993-03-28 18:22:47 +00:00
Jim Meyering
d446f94a60
(decode_switches, print_long_format): New option: --full-time.
1993-03-28 18:21:25 +00:00
Jim Meyering
7735ccac5e
(main): If -f is given, don't complain if no file args are given.
1993-03-28 16:29:03 +00:00
Jim Meyering
c1c67d3295
Accept `flush' option. From Arne H. Juul arnej@lise.unit.no
1993-03-28 16:16:43 +00:00
Jim Meyering
d4f175199f
Add long options.
1993-03-26 04:52:17 +00:00
Jim Meyering
89ed6c2fec
(gobble_file): Don't stat symlinks unless we need to.
...
From Mike Rendell <michael@mercury.cs.mun.ca >.
1993-03-24 06:23:26 +00:00
Jim Meyering
82bdb546d9
(copy, copy_with_block, copy_with_block): Decrement pending_spaces only
...
if it's > 0. The following command didn't terminate:
perl -e 'print "a a\n";'| dd of=/dev/null ibs=1 cbs=3 conv=unblock
With suggestions from Chris Weber <weber@bucknell.edu >,
Marlys.A.Nelson@uwrf.edu , and Albert-Lunde@nwu.edu .
1993-03-24 06:22:57 +00:00
Jim Meyering
38456f092f
New option: -C, --compatible.
...
A few new small functions.
1993-03-23 05:27:39 +00:00
Jim Meyering
45849c5602
(close_file): Reverse May 13, '92 change, but add the condition
...
that cols_ready_to_print not be decremented when printing across.
The command `echo |pr -2ta' didn't terminate.
(print_page): Rewrite conditional with side effects in second conjunct
using nested if statements to make it clear that we do indeed want
those semantics.
1993-03-22 04:39:25 +00:00
Jim Meyering
b1770970a8
fix two typos
1993-03-22 02:31:33 +00:00
Jim Meyering
a299f3cc81
Compare getenv with NULL instead of 0 -- just for aesthetics.
1993-03-06 17:06:35 +00:00
Jim Meyering
d766e142ea
(print_s_char, print_s_short): Print signed chars and signed shorts without
...
resorting to casts involving `signed' keyword.
(decode_one_format): Don't print leading zeroes for DECIMAL formats.
1993-02-26 15:53:47 +00:00
Jim Meyering
63354f0c3f
reindent with indent-1.7
1993-02-25 16:31:52 +00:00
Jim Meyering
efd83f0b57
Reformat with GNU indent-1.7.
1993-02-25 14:28:21 +00:00
Jim Meyering
bc18a8e7f7
(print_s_char, print_s_short): Fix printing of signed chars and signed shorts.
1993-02-25 14:27:40 +00:00
Jim Meyering
f7c04842b9
Don't ask when removing symlinks.
1993-02-18 18:24:15 +00:00
Jim Meyering
8ae407c539
Add long options.
1993-02-08 05:13:43 +00:00
Jim Meyering
2694667b8d
IS* macros may not be given arguments with side effects.
1993-01-22 19:41:33 +00:00
Jim Meyering
b538765547
merge with 1.4
1993-01-20 04:29:09 +00:00
Jim Meyering
38575ad462
Merge with pre-release 1.3.6.
1992-12-10 19:34:55 +00:00
Jim Meyering
08c5ed9a7e
Remove last (blank) line of file.
1992-12-10 19:07:47 +00:00
Jim Meyering
542bb5364d
(is_char_class_member): Remove unreached return after abort.
1992-12-08 16:32:29 +00:00
Jim Meyering
b55706236d
Define ISLOWER and ISUPPER independent of STDC_HEADERS.
...
Define ISDIGIT and use it instead of isdigit.
1992-12-08 02:13:58 +00:00
Jim Meyering
ffd97483cd
(change_file_group): Define ISDIGIT and use it instead of isdigit.
1992-12-08 02:13:30 +00:00
Jim Meyering
dcded75afc
(isnumber): Define ISDIGIT and use it instead of isdigit.
1992-12-08 02:12:49 +00:00
Jim Meyering
d6b0403a1d
(print_formatted, print_esc): Define ISXDIGIT and ISXDIGIT and use
...
them instead of isdigit and isxdigit.
1992-12-07 05:32:19 +00:00
Jim Meyering
6afc161556
(toarith): Change single use of isdigit to ISDIGIT.
1992-12-07 05:28:23 +00:00
Jim Meyering
7c4931fcee
Remove unused definition of isdigit.
1992-12-07 05:26:54 +00:00
Jim Meyering
d179df1b06
Remove inclusion of <ctype.h> and definitions of is* ctype macros to system.h.
...
Change a few more uses of is* ctype macros to (protected) upper case versions.
1992-12-07 04:54:04 +00:00
Jim Meyering
57e56eb7ec
Convert static declarations of struct option to use new macros from
...
getopt.h: no_argument, required_argument, and optional_argument.
1992-12-02 18:55:36 +00:00