summaryrefslogtreecommitdiff
path: root/src/od.c
AgeCommit message (Collapse)Author
1996-04-21(decode_one_format): Use printf's L modifier for long doubles,Jim Meyering
not `l'. From Eric Backus.
1996-04-21Include <values.h>.Jim Meyering
[!BITSPERBYTE]: Define. [OFF_T_MAX]: Use BITSPERBYTE, not 8, and cast the result to off_t.
1996-03-24Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.Jim Meyering
This doesn't change `error (1' calls.
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-09(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-03-02(WINDOWS_SETFILEMODE_BINARY): New macro.Jim Meyering
(skip) [_WIN32 && _O_BINARY]: Use it. (read_char): Likewise. (read_block): Likewise. Based on changes by Gary Newman <gnewman@shore.net>.
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-15(*format_address): Tweak dcl.Jim Meyering
1995-11-11(skip): Cast fseek's offset argument to `long'.Jim Meyering
Erik Bennett <bennett@cvo.oneworld.com> reported that this is necessary on BSDI systems. And if offset doesn't fit in a long, then try using lseek instead.
1995-11-11Add __P in dcl of format_address function.Jim Meyering
1995-10-19Indent cpp directives.Jim Meyering
1995-10-18Prootize.Jim Meyering
1995-09-27(decode_one_format): Remove spurious semicolon.Jim Meyering
1995-08-07Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-07-12(dump): Convert to use smaller -- but seemingly equivalent -- patch.Jim Meyering
1995-07-07(dump): Correct loop-termination criterion.Jim Meyering
Before, running `printf 1234| ./od --width=4 --read-bytes=4' printed output for 8 bytes -- the last four were garbage. This happened only when the dump limit, N, was specified (with --read-bytes=N) and N was a multiple of bytes_per_block (usually 16, but 4 in this example). From Andreas Schwab.
1995-06-18merge with 1.12Jim Meyering
1995-05-13(usage): Include one- or two-line synopsis in --help output.Jim Meyering
From Karl Berry.
1995-04-14(write_block): Declare index I as unsigned int, not int.Jim Meyering
(get_lcm): Likewise. (dump_strings): Likewise. (main): Likewise. (dump): Cast BYTES_PER_BLOCK to off_t in MIN expression. (dump_strings): Declare bufsize to be of type size_t, not int.
1995-03-16Detect when -N argument is too large to fit in an off_t.Jim Meyering
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.