Home | History | Annotate | Download | only in hexdump
History log of /src/usr.bin/hexdump/odsyntax.c
RevisionDateAuthorComments
 1.28  27-Nov-2010  christos revert and fix the usage to be consistent with other programs.
 1.27  27-Nov-2010  dholland PR 44156: od -? prints usage for "hexdump" rather than "od"
 1.26  09-Feb-2010  drochner remove agitation that od(1) was deprecated -- it is still POSIX
 1.25  03-Sep-2008  drochner Support -the "-A addressformat" flag for od(1), from FreeBSD.
(I found a script which tries to figure out the byteorder of a box
by "od -An | grep", but it is POSIX anyway.)
There is a little behavioural change: The whitespace without any arguments
is like "-to2" now; before it was custom. It's not worse imho.
 1.24  26-Aug-2006  christos branches: 1.24.18;
More programs using efun.
 1.23  04-Jan-2006  perry de-__P, ANSIfy prototypes
 1.22  02-Jun-2005  lukem appease gcc -Wuninitialized
 1.21  30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.20  27-Oct-2003  lukem Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
 1.19  22-Oct-2003  dmcmahill add
#if HAVE_CONFIG_H
#include "config.h"
#endif
to get this to build under solaris-2.6/sparc with gcc-2.95.1 as part of
the NetBSD cross toolchain build. Fixes PR23211. Patch approved by
Alistair Crooks.
 1.18  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.17  12-Mar-2003  augustss More tests if __RCSID is defined.
 1.16  30-Mar-2002  bjh21 More POSIX overhaul:
Support the F, D and L modifiers to the f format correctly.
Generate hexdump byte-counts, precisions and spacings automatically.
 1.15  07-Dec-2001  bjh21 WARNS=2
 1.14  07-Dec-2001  bjh21 Further POSIX progress: The C, S, I and L modifiers now behave correctly,
specifying output in units of a char, short, int and long (as defined by the
host system) respectively. This made the POSIX -t code more than complicated
enough to merit its own function, so I did that.
 1.13  05-Dec-2001  bjh21 Further POSIXification: od now supports -N, which is equivalent to hexdump's
-n (format only COUNT bytes of input).
 1.12  05-Dec-2001  bjh21 Add a -j option to od, which does the same as the -s option to
hexdump (skipping some of the input). This brings our od slightly
closer to POSIX.2 conformance.
 1.11  07-Feb-2001  christos PR/12147: TheMan: add -t option to od.
 1.10  19-Dec-1998  christos char -> unsigned char
 1.9  25-Aug-1998  ross Add { and } to shut up egcs. Reformat the more questionable code.
 1.8  19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.7  18-Oct-1997  mrg merge lite-2.
 1.6  11-Jul-1997  mikel add explicit return types to many functions
pull global variable declarations and function prototypes into hexdump.h
add #includes where necessary for prototypes
replace index() with strchr(), const-poison static string vars, etc.
 1.5  09-Jan-1997  tls RCS ID police
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  04-May-1993  mycroft Previous patch was incorrect.
 1.2  03-May-1993  sef Fix a NULL-dereferencing, that caused a segfault with QMAGIC (yay).
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  04-May-1995  mrg 4.4BSD-Lite2
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.24.18.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed