summaryrefslogtreecommitdiff
path: root/usr.bin/hexdump/display.c
AgeCommit message (Collapse)Author
2007-01-28In doskip(), do not access an uninitialized variable in the statok == 0 caseMiod Vallat
(introduced in r1.9)
2005-08-18Oops, previous fix would prevent standard input from being processed at allMiod Vallat
since it is not stat(2)'ed; spotted by fgs@, better fix by tom@
2005-08-16Do not consider there is a file to process when stat(2) fails; gets rid ofMiod Vallat
spurious error messages. ok deraadt@ millert@ pedro@ tdeval@
2004-09-14use __inline instead of inline (for portability)Theo de Raadt
2004-07-21Use fseeko, not fseek when offset is an off_t; Fabio Olive LeiteTodd C. Miller
2003-06-12de-register and ansification; millert okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-30Changes come from NetBSD, Lite-2 and me. ok deraadtPeter Valchev
od(1): - Enable support for printing 8-byte integers. - Added -C option for hexadecimal+ASCII display. - Fix od so it displays short files containing nulls. - POSIXification: 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. Support -N, equivalent to hexdump's -n (format only COUNT bytes of input). Add -j option which does the same thing as -s in hexdump (skipping some of the input). hexdump(1): - POSIX.2 doesn't specify hexdump so it can't be compatible with it... - add missing trailing \n in usage() printf
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-11-02replace fprintf(stderr)/exit w/ err/warnMichael Shalayeff
2001-07-12first pass at a -Wall cleanupTheo de Raadt
1998-12-16for less than 16 NUL bytes, do not print a * line; dillonTheo de Raadt
1997-01-17r?index -> strr?chrTodd C. Miller
1996-06-26rcsidTheo de Raadt
1996-05-21use existing protosTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt