summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1992-12-02Convert static declarations of struct option to use new macros fromJim Meyering
getopt.h: no_argument, required_argument, and optional_argument.
1992-11-24Use David's definition of isascii instead of my CTYPE_PREFIX macro.Jim Meyering
1992-11-24.Jim Meyering
1992-11-24* Define new macros ISPRINT, ISALNUM, ISXDIGIT, ... that use isasciiJim Meyering
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>.
1992-11-24.Jim Meyering
1992-11-24* (print_ascii, dump_strings): Use ISDIGIT and ISPRINTJim Meyering
macros like pr.c. Suggested by David J. MacKenzie.
1992-11-24.Jim Meyering
1992-11-24* (print_ascii, dump_strings): Check for isascii before isprint.Jim Meyering
(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.
1992-11-19Merged in changes for 1.3.5.Jim Meyering
1992-11-13.Jim Meyering
1992-11-13.Jim Meyering
1992-11-12all files: make most variables static and const when possible.Jim Meyering
declare lots of functions static.
1992-11-12Make tables static and const when possible.Jim Meyering
getdate.c (getdate_yyerr, getdate_yylex): Declare these functions static.
1992-11-12.Jim Meyering
1992-11-12(set_mode): Parenthesize expressions with bit operationsJim Meyering
to correctly set/reset modes bits.
1992-11-09Declared lots of external functions and variables static.Jim Meyering
Made several statically-initialized arrays `const.'
1992-11-08Declared lots of external functions and variables static.Jim Meyering
Made several statically-initialized arrays `const'
1992-11-08Initial revisionJim Meyering
1992-11-08Initial revisionJim Meyering
1992-11-01Make still more file-scope variables `static'.Jim Meyering
1992-11-01Make one more file-scope variable `static.'Jim Meyering
1992-11-01Make file-scope variable static.Jim Meyering
1992-11-01Initial revisionJim Meyering
1992-11-01Give most file-scope variables the static attribute.Jim Meyering
1992-10-31*** empty log message ***Jim Meyering
1992-10-31(swab_buffer): Fix typo that incremented pointer instead of counter.Jim Meyering
Add braces around static struct initializers.
1992-10-31Add parentheses to expressions like (c = *p++) as per suggestionJim Meyering
from gcc -Wall.
1992-10-31Add parentheses to expressions like (c = *p++) as per suggestionJim Meyering
from gcc -Wall.
1992-10-31(adjust_blocks): Convert to a macro. The staticJim Meyering
function wasn't always used.
1992-10-31Initial revisionJim Meyering