History log of /netbsd/usr.bin/hexdump/parse.c (Results 1 – 25 of 28)
Revision Date Author Comments
# 7d747031 04-Sep-2011 joerg <joerg@NetBSD.org>

static + __dead


# 53ee7761 18-Jan-2009 apb <apb@NetBSD.org>

Integer values, no matter what their width, are cast to int64_t or
uint64_t for printing. Because of this, parse.c:rewrite() should use
PRI[diouxX]64 as the printf format; the previous revision whic

Integer values, no matter what their width, are cast to int64_t or
uint64_t for printing. Because of this, parse.c:rewrite() should use
PRI[diouxX]64 as the printf format; the previous revision which used
"lld" and friends was a temporary measure. We assume that PRId64 ends
with 'd', PRIx64 ends with 'x', etc.

In display.c:display(), change some u_intNN_t types to C99 standard
uintNN_t types, and consistently cast to [u]int64_t when printing
integer values (even in two cases where it's not really necessary but it
makes the code look more consistent).

show more ...


# ec644bbf 17-Jan-2009 hans <hans@NetBSD.org>

Use ll instead of non-standard q as length modifier in format strings.
Makes this work on Solaris. OK by apb.


# be4d21ee 09-Oct-2006 christos <christos@NetBSD.org>

use ecalloc in previous


# 861fc643 09-Oct-2006 dsl <dsl@NetBSD.org>

Fix core dump caused by non-zerod memory.
From Auster in current_users.


# a01c1f47 23-Sep-2006 elad <elad@NetBSD.org>

PR/28157: KAMADA Ken'ichi: escape sequence of hexdump(1) is broken
(SIGSEGV at worst)
Applied patch, thanks for the report!


# fadb259b 05-Sep-2006 hira <hira@NetBSD.org>

Fix uninitialized variables.


# cdab3a7a 26-Aug-2006 christos <christos@NetBSD.org>

More programs using efun.


# e4573e12 30-Mar-2006 dsl <dsl@NetBSD.org>

Simplify the way the end of a singly linked list is followed (for adding
items) so it is more obvious that we aren't going to indirect through
a null pointer.
Fixes coverty SID:101


# d310ebb1 04-Jan-2006 perry <perry@NetBSD.org>

de-__P, ANSIfy prototypes


# 171d6532 27-Oct-2003 lukem <lukem@NetBSD.org>

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/com

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).

show more ...


# 188fcee3 22-Oct-2003 dmcmahill <dmcmahill@NetBSD.org>

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

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.

show more ...


# 89aaa1bb 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.


# c8e6437c 12-Mar-2003 augustss <augustss@NetBSD.org>

More tests if __RCSID is defined.


# f51456c2 11-Jun-2002 itojun <itojun@NetBSD.org>

err/errx/warn/warnx do not need \n at the end


# 84f98450 07-Dec-2001 bjh21 <bjh21@NetBSD.org>

Enable support for printing 8-byte integers. For some reason, most of the
code for this was present, but disabled.
This is required for POSIX compliance on platforms with 8-byte longs.


# d88f58cb 07-Feb-2001 christos <christos@NetBSD.org>

constify


# 1897a4fb 14-Oct-2000 bjh21 <bjh21@NetBSD.org>

Don't core dump with an empty format string. Fixes PR#11218.
Patch supplied by Launey Thomas.


# 81d0adc8 11-Oct-2000 itojun <itojun@NetBSD.org>

string length computation bug. PR 8676.


# 9794a7e0 19-Dec-1998 christos <christos@NetBSD.org>

char -> unsigned char


# c6810a02 19-Oct-1997 lukem <lukem@NetBSD.org>

WARNSify, fix .Nm usage, deprecate register


# 73973984 18-Oct-1997 mrg <mrg@NetBSD.org>

merge lite-2.


# 769693f9 11-Jul-1997 mikel <mikel@NetBSD.org>

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-

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.

show more ...


# 9d225a17 09-Jan-1997 tls <tls@NetBSD.org>

RCS ID police


# 07ca972a 20-May-1994 pk <pk@NetBSD.org>

Display addresses -- which are off_t's -- with proper format string.


12