itojun
8ac99d48f2
strlcat
2003-07-15 05:59:58 +00:00
itojun
3c95d355e5
use bounded string op
2003-07-15 05:56:55 +00:00
itojun
0cd65be2b9
snprintf
2003-07-15 05:52:48 +00:00
itojun
bd8e1178ee
strlcpy (fixed)
2003-07-15 05:39:28 +00:00
itojun
885eddc2ed
strlcpy
2003-07-15 05:38:24 +00:00
sjg
8186ad8ad9
Fix a couple of missing UNCONST's that hit bmake.
2003-07-14 21:13:48 +00:00
christos
ed5bfb0707
PR/21896: Jun-ichiro itojun Hagino: Fix botch with passing -1 as the stdin
...
for the editor instead of 0.
2003-07-14 20:49:14 +00:00
sjg
f1cf540a8d
Add a :ts[c] modifier to allow controlling the separator used between
...
words in a variable expansion. If 'c' is omitted no separator is used.
2003-07-14 20:39:20 +00:00
christos
6a7d20bb25
Pass WARNS=3
2003-07-14 18:19:11 +00:00
itojun
c9df1b829c
the line is needed (to remove closing doublequote)
2003-07-14 18:11:06 +00:00
itojun
1f245ffbb2
more unifdef
2003-07-14 16:06:46 +00:00
itojun
eb8120f761
more unifdef
2003-07-14 16:00:52 +00:00
itojun
21f5307c6f
remove unneeded #ifdef. (confirmed that same *.o is generated)
2003-07-14 15:56:28 +00:00
itojun
ab3a8ded53
use bounded string op/asprintf
2003-07-14 12:02:00 +00:00
itojun
6d415bc4b0
use bounded string op
2003-07-14 11:54:06 +00:00
itojun
347022e133
use bounded string op - some remains
2003-07-14 11:52:24 +00:00
itojun
01a5c755ee
use bounded string op, simplify by asprintf/strdup
2003-07-14 11:45:18 +00:00
itojun
479f575456
use bounded string op
2003-07-14 11:36:48 +00:00
itojun
31d51579a3
get rid of strsave(), use strdup directly
2003-07-14 11:09:19 +00:00
itojun
3f02ac18b7
use bounded string op
2003-07-14 09:44:00 +00:00
itojun
d91f80a702
the function is equivalent to strdup.
2003-07-14 09:41:27 +00:00
itojun
fe182b3802
use bounded string op
2003-07-14 09:40:26 +00:00
itojun
5d7783072e
asprintf is safer. add error trap for malloc failure
2003-07-14 09:38:14 +00:00
itojun
2fe0488981
use bounded string op
2003-07-14 09:33:08 +00:00
itojun
51a0035259
use bounded string op
2003-07-14 09:31:16 +00:00
itojun
6a949dc545
minor KNF
2003-07-14 09:30:52 +00:00
itojun
eea9ee0720
asprintf is easier and safer
2003-07-14 09:29:21 +00:00
itojun
2777b2aa10
use bounded string op as much as possible
2003-07-14 09:25:37 +00:00
itojun
870f37306c
use bounded string op
2003-07-14 09:24:00 +00:00
itojun
a0e42b4568
strdup is easier
2003-07-14 09:22:17 +00:00
itojun
6086476ade
use bounded string op
2003-07-14 09:21:03 +00:00
itojun
24c1ca6e35
use bounded string op as much as possible
2003-07-14 09:18:22 +00:00
wiz
95ad95491e
Fix two minor whitespace problems.
2003-07-14 08:55:18 +00:00
dsl
a99fe675ab
Change back to print hex bytes. The 'word' print was completely broken
...
on little endian systems. It is also much easier to read misaligned
words in a straight byte hexdump.
Cut offset to 3 hex digits so that it fixs in 80 columns and still
leaves a tab at the start of 'continuation' lines.
The ktrace buffer is limited to 4k, so 3 digits is ample.
2003-07-13 18:54:29 +00:00
he
ac678f8de2
On some ports, pointer differences are not ints, so do a cast
...
before using such a result as a field width.
2003-07-13 15:19:39 +00:00
manu
cbfacd83b6
Make hexdump output fix in 80 char-wide terminal
2003-07-12 19:22:07 +00:00
tshiozak
c1e771ab90
separate "nonidentical conversion" and "ilseq" under csmapper.
...
"nonidentical" means "the input character index is valid, but not
corresponding to the output codeset."
"ilseq" means "the input character index is invalid for the input codeset."
2003-07-12 15:39:19 +00:00
itojun
ae4b4e6dbb
strlcat
2003-07-12 14:30:53 +00:00
itojun
7173f16649
use bounded copy ops
2003-07-12 14:29:35 +00:00
itojun
5389fc55da
bound string operations
2003-07-12 14:08:37 +00:00
itojun
28f506f3a2
strlcpy
2003-07-12 13:57:49 +00:00
itojun
c0970755a6
pedantic check around unsafe strncpy.
...
XXX this code needs a serious rewrite
2003-07-12 13:53:08 +00:00
itojun
ef4b3d620c
copyright missing in files, copy them from README
2003-07-12 13:47:42 +00:00
itojun
417386ecc9
strlcpy
2003-07-12 13:38:10 +00:00
itojun
07b330cc97
strlcpy, some KNF
2003-07-12 13:37:15 +00:00
itojun
032ed69f9a
strlcpy
2003-07-12 13:23:55 +00:00
manu
e9383d7e5d
Use the same code to display hexdump of GIO and MMSG (Mach Messages).
...
While we are there, display offsets in the hexdump, it can be useful.
Remove size display in Mach Messages as user processes don't always
fill it correctly.
2003-07-12 10:07:08 +00:00
wiz
b712736290
Add -x to usage output.
2003-07-11 13:06:11 +00:00
wiz
79093334ef
Bump date for -x addition.
2003-07-11 13:05:26 +00:00
dsl
6ea05bcbfe
Add a '-x' option to display GIO data blocks in hex and ascii (instead of
...
vis(3) format).
Maybe there could be a heuristic to decide whether the data is printable...
2003-07-11 10:59:28 +00:00