platform/upstream/coreutils.git
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)]
.

31 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.

31 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.

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

31 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.

31 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.'

31 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'

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

31 years agoInitial revision
Jim Meyering [Sun, 8 Nov 1992 02:50:43 +0000 (02:50 +0000)]
Initial revision

31 years agoMake still more file-scope variables `static'.
Jim Meyering [Sun, 1 Nov 1992 07:01:40 +0000 (07:01 +0000)]
Make still more file-scope variables `static'.

31 years agoMake one more file-scope variable `static.'
Jim Meyering [Sun, 1 Nov 1992 06:55:29 +0000 (06:55 +0000)]
Make one more file-scope variable `static.'

31 years agoMake file-scope variable static.
Jim Meyering [Sun, 1 Nov 1992 06:50:15 +0000 (06:50 +0000)]
Make file-scope variable static.

31 years agoInitial revision
Jim Meyering [Sun, 1 Nov 1992 05:44:29 +0000 (05:44 +0000)]
Initial revision

31 years agoGive most file-scope variables the static attribute.
Jim Meyering [Sun, 1 Nov 1992 03:30:09 +0000 (03:30 +0000)]
Give most file-scope variables the static attribute.

31 years ago*** empty log message ***
Jim Meyering [Sat, 31 Oct 1992 23:02:03 +0000 (23:02 +0000)]
*** empty log message ***

31 years ago(swab_buffer): Fix typo that incremented pointer instead of counter.
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.

31 years agoAdd parentheses to expressions like (c = *p++) as per suggestion
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.

31 years agoAdd parentheses to expressions like (c = *p++) as per suggestion
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.

31 years ago(adjust_blocks): Convert to a macro. The static
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.

31 years agoInitial revision
Jim Meyering [Sat, 31 Oct 1992 20:42:48 +0000 (20:42 +0000)]
Initial revision