summaryrefslogtreecommitdiff
path: root/src/od.c
AgeCommit message (Collapse)Author
1995-03-09add 1995 to Copyright datesJim Meyering
1995-01-29(parse_old_offset): Use strchr, not index.Jim Meyering
1995-01-28(decode_format_string): Use memmove instead of bcopy.Jim Meyering
[EQUAL_BLOCKS]: Use memcmp, not bcmp. (dump): Use memset, not bzero.
1995-01-25Rename macros with FP_ prefix. Use FLOAT_ instead.Jim Meyering
AIX-2.2.1 declares a typedef, FP_DOUBLE, that conflicted. Be careful to use off_t instead of explicit `unsigned long'. Otherwise, systems like 4.4BSD lose on calls to fseek that expect off_t (which is long long on that system). (parse_old_offset): Use xstrtoul (main): Likewise.
1994-12-16(main): Use %lu, not %d for unsigned long.Jim Meyering
(my_strtoul, uint_fatal_error): Remove functions. Use xstrtoul and STRTOL_FATAL_ERROR instead.
1994-10-19merge with 1.9.1hJim Meyering
1994-10-19.Jim Meyering
1994-10-02.Jim Meyering
1994-04-13.Jim Meyering
1994-03-25.Jim Meyering
1993-11-15merge with 1.9.1Jim Meyering
1993-10-30merge with 1.8.1aJim Meyering
1993-10-24merge with 1.8hJim Meyering
1993-10-24merge with 1.8gJim Meyering
1993-10-23merge with 1.8d+Jim Meyering
1993-10-21merge with 1.8dJim Meyering
1993-10-05merge with 1.8aJim Meyering
1993-05-22merge with 1.5.2Jim Meyering
1993-05-07merge with 1.5Jim Meyering
1993-05-01merge with 1.4.2.Jim Meyering
1993-04-29add --version and --helpJim Meyering
1993-03-31(parse_old_offset): Allow `0X' as well as `0x' prefix to indicate hex.Jim Meyering
1993-03-30.Jim Meyering
1993-03-23New option: -C, --compatible.Jim Meyering
A few new small functions.
1993-02-26(print_s_char, print_s_short): Print signed chars and signed shorts withoutJim Meyering
resorting to casts involving `signed' keyword. (decode_one_format): Don't print leading zeroes for DECIMAL formats.
1993-02-25Reformat with GNU indent-1.7.Jim Meyering
1993-02-25(print_s_char, print_s_short): Fix printing of signed chars and signed shorts.Jim Meyering
1992-12-10Merge with pre-release 1.3.6.Jim Meyering
1992-12-07Remove inclusion of <ctype.h> and definitions of is* ctype macros to system.h.Jim Meyering
Change a few more uses of is* ctype macros to (protected) upper case versions.
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-24* (print_ascii, dump_strings): Use ISDIGIT and ISPRINTJim Meyering
macros like pr.c. Suggested by David J. MacKenzie.
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-08Declared lots of external functions and variables static.Jim Meyering
Made several statically-initialized arrays `const'
1992-11-08Initial revisionJim Meyering