Commit Graph

29 Commits

Author SHA1 Message Date
bjh21
1897a4fb7f Don't core dump with an empty format string. Fixes PR#11218.
Patch supplied by Launey Thomas.
2000-10-14 17:41:55 +00:00
itojun
81d0adc881 string length computation bug. PR 8676. 2000-10-11 16:47:22 +00:00
is
135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
itojun
4806b1729d printf() pedant - even if we are sure that there's no %-formatted in a
varaiable, don't pass variable alone to printf().
From: kris@freebsd.org (FreeBSD-current usr.bin/hexdump/display.c 1.4 -> 1.6)
2000-07-10 10:09:04 +00:00
drochner
85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
mycroft
a1c657fe56 Clean up SYNOPSIS formatting. 1999-03-07 11:29:58 +00:00
mycroft
f09b662944 Add a real date. 1999-03-06 11:50:46 +00:00
christos
9794a7e065 char -> unsigned char 1998-12-19 16:37:28 +00:00
ross
f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
lukem
984e733115 everything has bugs; either document them or don't bother with a BUGS section 1998-06-08 12:03:23 +00:00
jeremy
14fbe381c3 Show -C option in usage. PR/5266 1998-04-08 23:48:57 +00:00
jeremy
757abd14c5 Added -C option for hexadecimal+ASCII display. [PR/5017]
Fixed minor inconsistency in option descriptions in the man page.
1998-02-20 23:45:27 +00:00
lukem
c6810a0286 WARNSify, fix .Nm usage, deprecate register 1997-10-19 02:34:02 +00:00
mrg
7397398466 merge lite-2. 1997-10-18 13:53:56 +00:00
mikel
769693f903 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.
1997-07-11 06:28:26 +00:00
mikel
3a5de8f076 kill xref to nonexistent adb(1) 1997-07-10 04:31:37 +00:00
tls
9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
lukem
5d37ffa7eb fix the the typos 1996-11-10 23:58:22 +00:00
jtc
273e6cc624 Include appropriate header files to bring prototypes into scope.
Removed explicit errno declarations.
1996-05-07 18:32:22 +00:00
cgd
7bcf9338df specify man pages the new way. 1994-12-22 12:29:38 +00:00
pk
07ca972a0c Display addresses -- which are off_t's -- with proper format string. 1994-05-20 15:57:26 +00:00
jtc
7e06b2a1e2 Fix spelling errors. 1994-01-11 02:21:43 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft
690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
mrg
c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
mycroft
21f39729d7 Previous patch was incorrect. 1993-05-04 05:50:21 +00:00
sef
35127652d7 Fix a NULL-dereferencing, that caused a segfault with QMAGIC (yay). 1993-05-03 20:51:56 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00