summaryrefslogtreecommitdiff
path: root/src/od.c
AgeCommit message (Collapse)Author
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-01-10CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAXJim Meyering
Remove definitions of those symbols. * src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h since it now includes limit.h which defines RE_DUP_MAX. * src/nl.c: Likewise. * src/tac.c: Likewise.
1997-12-21s/__P/PARAMS/Jim Meyering
1997-11-08(fseeko): Define a stub if ! HAVE_FSEEKO.Jim Meyering
(skip): Use fseeko if available. Don't use lseek; it causes the stdio stream to become out of sync with respect to the underyling file descriptor. From Paul Eggert.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
(decode_format_string): Cast first arg of xrealloc to char*.
1997-10-18(LONG_MAX): Define if not defined.Jim Meyering
1997-10-14(STREQ): Remove definition.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-09-22[struct tspec] (hexl_mode_trailer): Rename from `trailer.'Jim Meyering
(dump_hexl_mode_trailer): Rename from dump_string_trailer. Use fputs and putchar instead of trivial or %-less printfs. (decode_one_format): Parenthesize each field_width assignment in an argument list to make the side effect a little more apparent. (write_block): Use fputs and putchar instead of trivial or %-less printfs. (dump_strings): Cast string_min to off_t to avoid long-standing warning.
1997-09-21Patch from John Kodis.Jim Meyering
1997-09-15tweak message stringsJim Meyering
1997-09-15tweak message stringsJim Meyering
1997-09-14(main) [--traditional]: Don't give diagnostic about thereJim Meyering
being more than three arguments if there are *no* arguments specified. Reported by Jochen Hein.
1997-02-09update copyrights for 1997Jim Meyering
1997-02-03Move alloca-related preprocessor code into system.h.Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-01-25update for changed xstrtou?lJim Meyering
1996-11-23(usage): Alphabetize options like sort -f would.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-04(main): update --version output againJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-07-17(OFF_T_MAX): Remove definition.Jim Meyering
(main): Compare against LONG_MAX rather than OFF_T_MAX.
1996-07-16[OFF_T_MAX]: Use `(unsigned long)1' rather than `(off_t)1'Jim Meyering
so the left operand of the << isn't signed. From Kaveh Ghazi.
1996-05-31(decode_one_format): Use %lu (not %d) printf formatsJim Meyering
corresponding to unsigned long, SIZE.
1996-05-30(decode_one_format): Take another parameter.Jim Meyering
Give a specific diagnostic for invalid format spec here rather than an overly general one from caller's caller. (decode_format_string): Update caller. (main): Don't give diagnostic here when decode_format_string fails. Remove assertions that could fail on some Crays because they don't have a two-byte type. Johan Danielsson (joda@pdc.kth.se) reported the failed assertions.
1996-04-24update Copyright years for 1996Jim Meyering
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