summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jim Meyering [Thu, 1 Apr 1993 04:06:15 +0000 (04:06 +0000)]
.
Jim Meyering [Thu, 1 Apr 1993 04:02:20 +0000 (04:02 +0000)]
Add --version, --help options.
Jim Meyering [Wed, 31 Mar 1993 06:27:07 +0000 (06:27 +0000)]
sort changes from Mike
Jim Meyering [Wed, 31 Mar 1993 06:07:16 +0000 (06:07 +0000)]
.
Jim Meyering [Wed, 31 Mar 1993 03:45:49 +0000 (03:45 +0000)]
.
Jim Meyering [Wed, 31 Mar 1993 03:44:09 +0000 (03:44 +0000)]
(parse_old_offset): Allow `0X' as well as `0x' prefix to indicate hex.
Jim Meyering [Wed, 31 Mar 1993 02:50:42 +0000 (02:50 +0000)]
Add -G,--no-group option to inhibit display of group infomation.
Jim Meyering [Wed, 31 Mar 1993 01:23:35 +0000 (01:23 +0000)]
updated from FSF
Jim Meyering [Tue, 30 Mar 1993 04:36:22 +0000 (04:36 +0000)]
.
Jim Meyering [Tue, 30 Mar 1993 04:35:36 +0000 (04:35 +0000)]
(index, bcopy): Don't redefine.
Jim Meyering [Tue, 30 Mar 1993 04:24:53 +0000 (04:24 +0000)]
.
Jim Meyering [Tue, 30 Mar 1993 03:32:10 +0000 (03:32 +0000)]
Always call error with errno (not zero) after failed fclose or non-zero ferror.
Jim Meyering [Tue, 30 Mar 1993 02:22:06 +0000 (02:22 +0000)]
.
Jim Meyering [Mon, 29 Mar 1993 05:09:09 +0000 (05:09 +0000)]
merge with 3.4.1
Jim Meyering [Sun, 28 Mar 1993 19:22:51 +0000 (19:22 +0000)]
.
Jim Meyering [Sun, 28 Mar 1993 19:22:28 +0000 (19:22 +0000)]
.
Jim Meyering [Sun, 28 Mar 1993 18:23:20 +0000 (18:23 +0000)]
.
Jim Meyering [Sun, 28 Mar 1993 18:22:47 +0000 (18:22 +0000)]
(add_omitted_fs_type, fs_to_omit): New functions adding
support for --exclude-type option. From Kaveh R. Ghazi
<ghazi@caip.rutgers.edu>.
Jim Meyering [Sun, 28 Mar 1993 18:21:25 +0000 (18:21 +0000)]
(decode_switches, print_long_format): New option: --full-time.
Jim Meyering [Sun, 28 Mar 1993 16:29:03 +0000 (16:29 +0000)]
(main): If -f is given, don't complain if no file args are given.
Jim Meyering [Sun, 28 Mar 1993 16:23:28 +0000 (16:23 +0000)]
[rindex]: Don't redefine.
Jim Meyering [Sun, 28 Mar 1993 16:16:43 +0000 (16:16 +0000)]
Accept `flush' option. From Arne H. Juul arnej@lise.unit.no
Jim Meyering [Sun, 28 Mar 1993 16:15:32 +0000 (16:15 +0000)]
.
Jim Meyering [Fri, 26 Mar 1993 04:52:17 +0000 (04:52 +0000)]
Add long options.
Jim Meyering [Fri, 26 Mar 1993 04:51:55 +0000 (04:51 +0000)]
.
Jim Meyering [Fri, 26 Mar 1993 04:50:40 +0000 (04:50 +0000)]
.
Jim Meyering [Fri, 26 Mar 1993 04:43:26 +0000 (04:43 +0000)]
.
Jim Meyering [Wed, 24 Mar 1993 06:23:42 +0000 (06:23 +0000)]
.
Jim Meyering [Wed, 24 Mar 1993 06:23:26 +0000 (06:23 +0000)]
(gobble_file): Don't stat symlinks unless we need to.
From Mike Rendell <michael@mercury.cs.mun.ca>.
Jim Meyering [Wed, 24 Mar 1993 06:22:57 +0000 (06:22 +0000)]
(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.
Jim Meyering [Tue, 23 Mar 1993 05:27:39 +0000 (05:27 +0000)]
New option: -C, --compatible.
A few new small functions.
Jim Meyering [Tue, 23 Mar 1993 02:52:19 +0000 (02:52 +0000)]
.
Jim Meyering [Mon, 22 Mar 1993 04:39:25 +0000 (04:39 +0000)]
(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.
Jim Meyering [Mon, 22 Mar 1993 02:31:33 +0000 (02:31 +0000)]
fix two typos
Jim Meyering [Sat, 6 Mar 1993 17:06:35 +0000 (17:06 +0000)]
Compare getenv with NULL instead of 0 -- just for aesthetics.
Jim Meyering [Tue, 2 Mar 1993 14:48:18 +0000 (14:48 +0000)]
.
Jim Meyering [Tue, 2 Mar 1993 14:41:40 +0000 (14:41 +0000)]
.
Jim Meyering [Tue, 2 Mar 1993 14:36:30 +0000 (14:36 +0000)]
.
Jim Meyering [Tue, 2 Mar 1993 14:13:10 +0000 (14:13 +0000)]
.
Jim Meyering [Tue, 2 Mar 1993 14:10:31 +0000 (14:10 +0000)]
Initial revision
Jim Meyering [Fri, 26 Feb 1993 15:53:47 +0000 (15:53 +0000)]
(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.
Jim Meyering [Thu, 25 Feb 1993 16:31:52 +0000 (16:31 +0000)]
reindent with indent-1.7
Jim Meyering [Thu, 25 Feb 1993 14:28:21 +0000 (14:28 +0000)]
Reformat with GNU indent-1.7.
Jim Meyering [Thu, 25 Feb 1993 14:27:40 +0000 (14:27 +0000)]
(print_s_char, print_s_short): Fix printing of signed chars and signed shorts.
Jim Meyering [Thu, 18 Feb 1993 18:24:15 +0000 (18:24 +0000)]
Don't ask when removing symlinks.
Jim Meyering [Mon, 8 Feb 1993 05:13:43 +0000 (05:13 +0000)]
Add long options.
Jim Meyering [Fri, 22 Jan 1993 19:41:33 +0000 (19:41 +0000)]
IS* macros may not be given arguments with side effects.
Jim Meyering [Wed, 20 Jan 1993 04:29:09 +0000 (04:29 +0000)]
merge with 1.4
Jim Meyering [Sun, 13 Dec 1992 14:18:48 +0000 (14:18 +0000)]
isascii guards for ctype.h macros
Jim Meyering [Thu, 10 Dec 1992 19:34:55 +0000 (19:34 +0000)]
Merge with pre-release 1.3.6.
Jim Meyering [Thu, 10 Dec 1992 19:07:47 +0000 (19:07 +0000)]
Remove last (blank) line of file.
Jim Meyering [Tue, 8 Dec 1992 16:32:37 +0000 (16:32 +0000)]
.
Jim Meyering [Tue, 8 Dec 1992 16:32:29 +0000 (16:32 +0000)]
(is_char_class_member): Remove unreached return after abort.
Jim Meyering [Tue, 8 Dec 1992 02:14:20 +0000 (02:14 +0000)]
.
Jim Meyering [Tue, 8 Dec 1992 02:13:58 +0000 (02:13 +0000)]
Define ISLOWER and ISUPPER independent of STDC_HEADERS.
Define ISDIGIT and use it instead of isdigit.
Jim Meyering [Tue, 8 Dec 1992 02:13:30 +0000 (02:13 +0000)]
(change_file_group): Define ISDIGIT and use it instead of isdigit.
Jim Meyering [Tue, 8 Dec 1992 02:12:49 +0000 (02:12 +0000)]
(isnumber): Define ISDIGIT and use it instead of isdigit.
Jim Meyering [Mon, 7 Dec 1992 05:32:29 +0000 (05:32 +0000)]
.
Jim Meyering [Mon, 7 Dec 1992 05:32:19 +0000 (05:32 +0000)]
(print_formatted, print_esc): Define ISXDIGIT and ISXDIGIT and use
them instead of isdigit and isxdigit.
Jim Meyering [Mon, 7 Dec 1992 05:28:23 +0000 (05:28 +0000)]
(toarith): Change single use of isdigit to ISDIGIT.
Jim Meyering [Mon, 7 Dec 1992 05:26:54 +0000 (05:26 +0000)]
Remove unused definition of isdigit.
Jim Meyering [Mon, 7 Dec 1992 04:54:23 +0000 (04:54 +0000)]
.
Jim Meyering [Mon, 7 Dec 1992 04:54:04 +0000 (04:54 +0000)]
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.
Jim Meyering [Wed, 2 Dec 1992 18:55:36 +0000 (18:55 +0000)]
Convert static declarations of struct option to use new macros from
getopt.h: no_argument, required_argument, and optional_argument.
Jim Meyering [Wed, 2 Dec 1992 18:55:03 +0000 (18:55 +0000)]
.
Jim Meyering [Wed, 2 Dec 1992 18:51:53 +0000 (18:51 +0000)]
Convert static declarations of struct option to use new macros from
getopt.h: no_argument, required_argument, and optional_argument.
Jim Meyering [Wed, 2 Dec 1992 18:51:05 +0000 (18:51 +0000)]
.
Jim Meyering [Wed, 2 Dec 1992 18:42:09 +0000 (18:42 +0000)]
.
Jim Meyering [Wed, 2 Dec 1992 18:40:09 +0000 (18:40 +0000)]
fixup to make tags right for getopt changes
Jim Meyering [Wed, 2 Dec 1992 18:32:24 +0000 (18:32 +0000)]
.
Jim Meyering [Wed, 2 Dec 1992 18:31:56 +0000 (18:31 +0000)]
Convert static declarations of struct option to use new macros from
getopt.h: no_argument, required_argument, and optional_argument.
Jim Meyering [Tue, 24 Nov 1992 20:26:20 +0000 (20:26 +0000)]
Use David's definition of isascii instead of my CTYPE_PREFIX macro.
Jim Meyering [Tue, 24 Nov 1992 19:54:32 +0000 (19:54 +0000)]
.
Jim Meyering [Tue, 24 Nov 1992 19:54:21 +0000 (19:54 +0000)]
* Define new macros ISPRINT, ISALNUM, ISXDIGIT, ... that use isascii
if it is defined.
(is_char_class_member, make_printable_char, make_printable_str,
non_neg_strtol): Use new macros instead of lower case ones
from <ctype.h>.
Jim Meyering [Tue, 24 Nov 1992 19:18:52 +0000 (19:18 +0000)]
.
Jim Meyering [Tue, 24 Nov 1992 19:18:43 +0000 (19:18 +0000)]
* (print_ascii, dump_strings): Use ISDIGIT and ISPRINT
macros like pr.c. Suggested by David J. MacKenzie.
Jim Meyering [Tue, 24 Nov 1992 14:43:20 +0000 (14:43 +0000)]
.
Jim Meyering [Tue, 24 Nov 1992 14:42:18 +0000 (14:42 +0000)]
* (print_ascii, dump_strings): Check for isascii before isprint.
(dump_strings): Free malloc'd buffer before returning.
(skip): Return non-zero if an error occurred, zero otherwise.
Exit only if asked to skip beyond end of combined input.
(check_and_close): New function.
(skip, read_block, read_char): Call check_and_close when done
processing the file associated with in_stream.
(skip, read_block, read_char): Set have_read_stdin.
(main): Close stdin (if it was ever read) and check for errors
just before exiting.
(write_block, dump_strings, dump): Don't test return value from
functions that operate on streams. Rely on later ferror tests.
Jim Meyering [Thu, 19 Nov 1992 21:03:49 +0000 (21:03 +0000)]
Merged in changes for 1.3.5.
Jim Meyering [Fri, 13 Nov 1992 03:36:55 +0000 (03:36 +0000)]
.
Jim Meyering [Fri, 13 Nov 1992 03:21:45 +0000 (03:21 +0000)]
.
Jim Meyering [Thu, 12 Nov 1992 04:14:54 +0000 (04:14 +0000)]
all files: make most variables static and const when possible.
declare lots of functions static.
Jim Meyering [Thu, 12 Nov 1992 04:13:46 +0000 (04:13 +0000)]
Make tables static and const when possible.
getdate.c (getdate_yyerr, getdate_yylex): Declare these functions static.
Jim Meyering [Thu, 12 Nov 1992 04:12:01 +0000 (04:12 +0000)]
.
Jim Meyering [Thu, 12 Nov 1992 02:19:02 +0000 (02:19 +0000)]
(set_mode): Parenthesize expressions with bit operations
to correctly set/reset modes bits.
Jim Meyering [Mon, 9 Nov 1992 17:39:24 +0000 (17:39 +0000)]
Declared lots of external functions and variables static.
Made several statically-initialized arrays `const.'
Jim Meyering [Sun, 8 Nov 1992 20:19:58 +0000 (20:19 +0000)]
Declared lots of external functions and variables static.
Made several statically-initialized arrays `const'
Jim Meyering [Sun, 8 Nov 1992 02:55:41 +0000 (02:55 +0000)]
Initial revision
Jim Meyering [Sun, 8 Nov 1992 02:50:43 +0000 (02:50 +0000)]
Initial revision
Jim Meyering [Sun, 1 Nov 1992 07:01:40 +0000 (07:01 +0000)]
Make still more file-scope variables `static'.
Jim Meyering [Sun, 1 Nov 1992 06:55:29 +0000 (06:55 +0000)]
Make one more file-scope variable `static.'
Jim Meyering [Sun, 1 Nov 1992 06:50:15 +0000 (06:50 +0000)]
Make file-scope variable static.
Jim Meyering [Sun, 1 Nov 1992 05:44:29 +0000 (05:44 +0000)]
Initial revision
Jim Meyering [Sun, 1 Nov 1992 03:30:09 +0000 (03:30 +0000)]
Give most file-scope variables the static attribute.
Jim Meyering [Sat, 31 Oct 1992 23:02:03 +0000 (23:02 +0000)]
*** empty log message ***
Jim Meyering [Sat, 31 Oct 1992 23:01:35 +0000 (23:01 +0000)]
(swab_buffer): Fix typo that incremented pointer instead of counter.
Add braces around static struct initializers.
Jim Meyering [Sat, 31 Oct 1992 23:00:47 +0000 (23:00 +0000)]
Add parentheses to expressions like (c = *p++) as per suggestion
from gcc -Wall.
Jim Meyering [Sat, 31 Oct 1992 23:00:13 +0000 (23:00 +0000)]
Add parentheses to expressions like (c = *p++) as per suggestion
from gcc -Wall.
Jim Meyering [Sat, 31 Oct 1992 22:50:51 +0000 (22:50 +0000)]
(adjust_blocks): Convert to a macro. The static
function wasn't always used.
Jim Meyering [Sat, 31 Oct 1992 20:42:48 +0000 (20:42 +0000)]
Initial revision