platform/upstream/coreutils.git
31 years ago.
Jim Meyering [Sun, 4 Apr 1993 00:56:21 +0000 (00:56 +0000)]
.

31 years agoremove blank line
Jim Meyering [Sun, 4 Apr 1993 00:56:09 +0000 (00:56 +0000)]
remove blank line

31 years ago.
Jim Meyering [Sun, 4 Apr 1993 00:40:23 +0000 (00:40 +0000)]
.

31 years ago.
Jim Meyering [Sun, 4 Apr 1993 00:11:14 +0000 (00:11 +0000)]
.

31 years agoConvert usage to take no arguments.
Jim Meyering [Fri, 2 Apr 1993 04:35:26 +0000 (04:35 +0000)]
Convert usage to take no arguments.

31 years ago.
Jim Meyering [Fri, 2 Apr 1993 04:27:50 +0000 (04:27 +0000)]
.

31 years ago.
Jim Meyering [Fri, 2 Apr 1993 04:27:28 +0000 (04:27 +0000)]
.

31 years agoAdd --help and --version options.
Jim Meyering [Fri, 2 Apr 1993 04:26:26 +0000 (04:26 +0000)]
Add --help and --version options.

31 years agoMove some dcls before first function.
Jim Meyering [Fri, 2 Apr 1993 04:26:04 +0000 (04:26 +0000)]
Move some dcls before first function.
Add --help and --version options.

31 years agoundef isasc before redining it.
Jim Meyering [Fri, 2 Apr 1993 04:24:29 +0000 (04:24 +0000)]
undef isasc before redining it.

31 years agoDefine isascii macro to be 1 also if STDC_HEADERS.
Jim Meyering [Thu, 1 Apr 1993 04:21:00 +0000 (04:21 +0000)]
Define isascii macro to be 1 also if STDC_HEADERS.

31 years agoDefine isascii macro to be 1 also if STDC_HEADERS.
Jim Meyering [Thu, 1 Apr 1993 04:12:31 +0000 (04:12 +0000)]
Define isascii macro to be 1 also if STDC_HEADERS.

31 years ago.
Jim Meyering [Thu, 1 Apr 1993 04:06:15 +0000 (04:06 +0000)]
.

31 years agoAdd --version, --help options.
Jim Meyering [Thu, 1 Apr 1993 04:02:20 +0000 (04:02 +0000)]
Add --version, --help options.

31 years agosort changes from Mike
Jim Meyering [Wed, 31 Mar 1993 06:27:07 +0000 (06:27 +0000)]
sort changes from Mike

31 years ago.
Jim Meyering [Wed, 31 Mar 1993 06:07:16 +0000 (06:07 +0000)]
.

31 years ago.
Jim Meyering [Wed, 31 Mar 1993 03:45:49 +0000 (03:45 +0000)]
.

31 years ago(parse_old_offset): Allow `0X' as well as `0x' prefix to indicate hex.
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.

31 years agoAdd -G,--no-group option to inhibit display of group infomation.
Jim Meyering [Wed, 31 Mar 1993 02:50:42 +0000 (02:50 +0000)]
Add -G,--no-group option to inhibit display of group infomation.

31 years agoupdated from FSF
Jim Meyering [Wed, 31 Mar 1993 01:23:35 +0000 (01:23 +0000)]
updated from FSF

31 years ago.
Jim Meyering [Tue, 30 Mar 1993 04:36:22 +0000 (04:36 +0000)]
.

31 years ago(index, bcopy): Don't redefine.
Jim Meyering [Tue, 30 Mar 1993 04:35:36 +0000 (04:35 +0000)]
(index, bcopy): Don't redefine.

31 years ago.
Jim Meyering [Tue, 30 Mar 1993 04:24:53 +0000 (04:24 +0000)]
.

31 years agoAlways call error with errno (not zero) after failed fclose or non-zero ferror.
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.

31 years ago.
Jim Meyering [Tue, 30 Mar 1993 02:22:06 +0000 (02:22 +0000)]
.

31 years agomerge with 3.4.1
Jim Meyering [Mon, 29 Mar 1993 05:09:09 +0000 (05:09 +0000)]
merge with 3.4.1

31 years ago.
Jim Meyering [Sun, 28 Mar 1993 19:22:51 +0000 (19:22 +0000)]
.

31 years ago.
Jim Meyering [Sun, 28 Mar 1993 19:22:28 +0000 (19:22 +0000)]
.

31 years ago.
Jim Meyering [Sun, 28 Mar 1993 18:23:20 +0000 (18:23 +0000)]
.

31 years ago(add_omitted_fs_type, fs_to_omit): New functions adding
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>.

31 years ago(decode_switches, print_long_format): New option: --full-time.
Jim Meyering [Sun, 28 Mar 1993 18:21:25 +0000 (18:21 +0000)]
(decode_switches, print_long_format): New option: --full-time.

31 years ago(main): If -f is given, don't complain if no file args are given.
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.

31 years ago[rindex]: Don't redefine.
Jim Meyering [Sun, 28 Mar 1993 16:23:28 +0000 (16:23 +0000)]
[rindex]: Don't redefine.

31 years agoAccept `flush' option. From Arne H. Juul arnej@lise.unit.no
Jim Meyering [Sun, 28 Mar 1993 16:16:43 +0000 (16:16 +0000)]
Accept `flush' option.  From Arne H. Juul arnej@lise.unit.no

31 years ago.
Jim Meyering [Sun, 28 Mar 1993 16:15:32 +0000 (16:15 +0000)]
.

31 years agoAdd long options.
Jim Meyering [Fri, 26 Mar 1993 04:52:17 +0000 (04:52 +0000)]
Add long options.

31 years ago.
Jim Meyering [Fri, 26 Mar 1993 04:51:55 +0000 (04:51 +0000)]
.

31 years ago.
Jim Meyering [Fri, 26 Mar 1993 04:50:40 +0000 (04:50 +0000)]
.

31 years ago.
Jim Meyering [Fri, 26 Mar 1993 04:43:26 +0000 (04:43 +0000)]
.

31 years ago.
Jim Meyering [Wed, 24 Mar 1993 06:23:42 +0000 (06:23 +0000)]
.

31 years ago(gobble_file): Don't stat symlinks unless we need to.
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>.

31 years ago(copy, copy_with_block, copy_with_block): Decrement pending_spaces only
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.

31 years agoNew option: -C, --compatible.
Jim Meyering [Tue, 23 Mar 1993 05:27:39 +0000 (05:27 +0000)]
New option: -C, --compatible.
A few new small functions.

31 years ago.
Jim Meyering [Tue, 23 Mar 1993 02:52:19 +0000 (02:52 +0000)]
.

31 years ago(close_file): Reverse May 13, '92 change, but add the condition
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.

31 years agofix two typos
Jim Meyering [Mon, 22 Mar 1993 02:31:33 +0000 (02:31 +0000)]
fix two typos

31 years agoCompare getenv with NULL instead of 0 -- just for aesthetics.
Jim Meyering [Sat, 6 Mar 1993 17:06:35 +0000 (17:06 +0000)]
Compare getenv with NULL instead of 0 -- just for aesthetics.

31 years ago.
Jim Meyering [Tue, 2 Mar 1993 14:48:18 +0000 (14:48 +0000)]
.

31 years ago.
Jim Meyering [Tue, 2 Mar 1993 14:41:40 +0000 (14:41 +0000)]
.

31 years ago.
Jim Meyering [Tue, 2 Mar 1993 14:36:30 +0000 (14:36 +0000)]
.

31 years ago.
Jim Meyering [Tue, 2 Mar 1993 14:13:10 +0000 (14:13 +0000)]
.

31 years agoInitial revision
Jim Meyering [Tue, 2 Mar 1993 14:10:31 +0000 (14:10 +0000)]
Initial revision

31 years ago(print_s_char, print_s_short): Print signed chars and signed shorts without
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.

31 years agoreindent with indent-1.7
Jim Meyering [Thu, 25 Feb 1993 16:31:52 +0000 (16:31 +0000)]
reindent with indent-1.7

31 years agoReformat with GNU indent-1.7.
Jim Meyering [Thu, 25 Feb 1993 14:28:21 +0000 (14:28 +0000)]
Reformat with GNU indent-1.7.

31 years ago(print_s_char, print_s_short): Fix printing of signed chars and signed shorts.
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.

31 years agoDon't ask when removing symlinks.
Jim Meyering [Thu, 18 Feb 1993 18:24:15 +0000 (18:24 +0000)]
Don't ask when removing symlinks.

31 years agoAdd long options.
Jim Meyering [Mon, 8 Feb 1993 05:13:43 +0000 (05:13 +0000)]
Add long options.

31 years agoIS* macros may not be given arguments with side effects. ISDIGIT-bug-fix
Jim Meyering [Fri, 22 Jan 1993 19:41:33 +0000 (19:41 +0000)]
IS* macros may not be given arguments with side effects.

31 years agomerge with 1.4
Jim Meyering [Wed, 20 Jan 1993 04:29:09 +0000 (04:29 +0000)]
merge with 1.4

31 years agoisascii guards for ctype.h macros
Jim Meyering [Sun, 13 Dec 1992 14:18:48 +0000 (14:18 +0000)]
isascii guards for ctype.h macros

31 years agoMerge with pre-release 1.3.6.
Jim Meyering [Thu, 10 Dec 1992 19:34:55 +0000 (19:34 +0000)]
Merge with pre-release 1.3.6.

31 years agoRemove last (blank) line of file.
Jim Meyering [Thu, 10 Dec 1992 19:07:47 +0000 (19:07 +0000)]
Remove last (blank) line of file.

31 years ago.
Jim Meyering [Tue, 8 Dec 1992 16:32:37 +0000 (16:32 +0000)]
.

31 years ago(is_char_class_member): Remove unreached return after abort.
Jim Meyering [Tue, 8 Dec 1992 16:32:29 +0000 (16:32 +0000)]
(is_char_class_member): Remove unreached return after abort.

31 years ago.
Jim Meyering [Tue, 8 Dec 1992 02:14:20 +0000 (02:14 +0000)]
.

31 years agoDefine ISLOWER and ISUPPER independent of STDC_HEADERS.
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.

31 years ago(change_file_group): 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.

31 years ago(isnumber): 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.

31 years ago.
Jim Meyering [Mon, 7 Dec 1992 05:32:29 +0000 (05:32 +0000)]
.

31 years ago(print_formatted, print_esc): Define ISXDIGIT and ISXDIGIT and use
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.

31 years ago(toarith): Change single use of isdigit to ISDIGIT.
Jim Meyering [Mon, 7 Dec 1992 05:28:23 +0000 (05:28 +0000)]
(toarith): Change single use of isdigit to ISDIGIT.

31 years agoRemove unused definition of isdigit.
Jim Meyering [Mon, 7 Dec 1992 05:26:54 +0000 (05:26 +0000)]
Remove unused definition of isdigit.

31 years ago.
Jim Meyering [Mon, 7 Dec 1992 04:54:23 +0000 (04:54 +0000)]
.

31 years agoRemove inclusion of <ctype.h> and definitions of is* ctype macros to system.h.
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.

31 years agoConvert static declarations of struct option to use new macros from
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.

31 years ago.
Jim Meyering [Wed, 2 Dec 1992 18:55:03 +0000 (18:55 +0000)]
.

31 years agoConvert static declarations of struct option to use new macros from
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.

31 years ago.
Jim Meyering [Wed, 2 Dec 1992 18:51:05 +0000 (18:51 +0000)]
.

31 years ago.
Jim Meyering [Wed, 2 Dec 1992 18:42:09 +0000 (18:42 +0000)]
.

31 years agofixup to make tags right for getopt changes
Jim Meyering [Wed, 2 Dec 1992 18:40:09 +0000 (18:40 +0000)]
fixup to make tags right for getopt changes

31 years ago.
Jim Meyering [Wed, 2 Dec 1992 18:32:24 +0000 (18:32 +0000)]
.

31 years agoConvert static declarations of struct option to use new macros from
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.

31 years agoUse David's definition of isascii instead of my CTYPE_PREFIX macro.
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.

31 years ago.
Jim Meyering [Tue, 24 Nov 1992 19:54:32 +0000 (19:54 +0000)]
.

31 years ago* Define new macros ISPRINT, ISALNUM, ISXDIGIT, ... that use isascii
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>.

31 years ago.
Jim Meyering [Tue, 24 Nov 1992 19:18:52 +0000 (19:18 +0000)]
.

31 years ago* (print_ascii, dump_strings): Use ISDIGIT and ISPRINT
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.

31 years ago.
Jim Meyering [Tue, 24 Nov 1992 14:43:20 +0000 (14:43 +0000)]
.

31 years ago* (print_ascii, dump_strings): Check for isascii before isprint.
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.

31 years agoMerged in changes for 1.3.5.
Jim Meyering [Thu, 19 Nov 1992 21:03:49 +0000 (21:03 +0000)]
Merged in changes for 1.3.5.

31 years ago.
Jim Meyering [Fri, 13 Nov 1992 03:36:55 +0000 (03:36 +0000)]
.

31 years ago.
Jim Meyering [Fri, 13 Nov 1992 03:21:45 +0000 (03:21 +0000)]
.

32 years agoall files: make most variables static and const when possible.
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.

32 years agoMake tables static and const when possible.
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.

32 years ago.
Jim Meyering [Thu, 12 Nov 1992 04:12:01 +0000 (04:12 +0000)]
.

32 years ago(set_mode): Parenthesize expressions with bit operations
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.

32 years agoDeclared lots of external functions and variables static.
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.'

32 years agoDeclared lots of external functions and variables static.
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'

32 years agoInitial revision
Jim Meyering [Sun, 8 Nov 1992 02:55:41 +0000 (02:55 +0000)]
Initial revision