gson
dcf9144a8a
Do not treat all file names of length 1 as meaning standard output.
2006-05-09 15:55:44 +00:00
he
b28792d8d4
Our gcc 3.3.3 (nb3) for hppa gets an "unrecognized insn" internal
...
compiler error when building buf.c with -O2, so reduce optimization
level to -O1 for this single file.
To be documented in docs/HACKS, discussed with skrll.
2006-05-08 11:07:57 +00:00
hubertf
97c6c066c2
Be more liberal about whitespaces when verifying checksums.
...
This allows checking md5/sha1 shecksums generates on Linux, which
add more whitespace.
Based on patch by Jukka Salmi (j+nbsd at 2006 dot salmi dot ch)
2006-05-07 12:22:55 +00:00
elad
00556c3786
remove -1, -2, -4, -5, -6, -m.
2006-05-05 22:07:22 +00:00
rpaulo
de8db47547
Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
...
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.
From the KAME project (www.kame.net).
Reviewed by core.
2006-05-05 00:03:21 +00:00
lukem
e48c097471
getservbyport(3) wants the port in network order.
...
Noted by Hajimu UMEMOTO <ume@freebsd.org>
via Maxim Konovalov <maxim@macomnet.ru>.
2006-05-04 23:22:21 +00:00
christos
394f070a3e
Handle aout m68k; from Izumi Tsutsui.
2006-05-04 18:06:29 +00:00
christos
dc2a3a037e
Sprinkle __dead
2006-05-03 18:08:24 +00:00
yamt
2553980909
- fix --.
...
- fix -e.
- fix patterns starting with -.
- fix "missing argument" message.
2006-05-03 16:48:29 +00:00
christos
d1c2aa7c3b
Coverity CID 1184: Avoid NULL deref.
2006-05-02 22:35:07 +00:00
christos
4e749c0af7
Coverity CID 1185: Avoid NULL deref.
2006-05-02 22:33:42 +00:00
christos
060bb7465d
Coverity CID 1330: Always check str_alloc for NULL returns.
2006-05-02 22:30:25 +00:00
christos
54f258bd85
Coverity CID 1736: close files before returning.
2006-05-02 22:26:46 +00:00
christos
9c8ab46858
Coverity CID 569: Remove dead code.
2006-05-02 22:24:05 +00:00
christos
e649ae6adc
Coverity CID 884: Avoid NULL deref.
2006-05-02 22:19:12 +00:00
christos
10a7a5fd96
Coverity CID 885: Avoid NULL deref.
2006-05-02 22:13:29 +00:00
christos
9b0f17533c
Coverity CID 886: Avoid NULL deref.
2006-05-02 21:40:06 +00:00
christos
a0c086aaf2
Coverity CID 2989: Use the error path to return.
2006-05-01 23:31:10 +00:00
christos
83d63c0a25
Coverity CID 2996: Don't return without closing fp.
2006-05-01 23:22:48 +00:00
christos
0ced32c669
Rename cat to tset_cat so that coverity does not get confused by the global
...
name.
2006-05-01 23:18:37 +00:00
christos
ed5c178a35
Use errx instead of fprintf/fputs.
2006-05-01 23:12:24 +00:00
christos
9136a179f7
Coverity CID 1198: Avoid closing a negative fd.
2006-05-01 23:06:55 +00:00
christos
85576ae019
Coverity CID 1224: Avoid closing a negative fd.
2006-05-01 23:05:24 +00:00
christos
20fe0cf746
Coverity CID 1447: Avoid buffer overflow.
2006-05-01 23:02:03 +00:00
christos
186743bc31
Coverity CID 1448: Avoid static array overflow.
2006-05-01 23:00:33 +00:00
christos
05d6ead1e0
Coverity CID 1223: Avoid calling close with a negative fd.
2006-05-01 22:57:16 +00:00
christos
7c1fafb5f3
Coverity CID 1233: Avoid negative index.
2006-05-01 22:55:50 +00:00
christos
501be8b824
Need assert.h now.
2006-05-01 05:14:22 +00:00
christos
e408cc2631
Coverity CID 766: Add assertion before pointer deref.
2006-05-01 05:13:58 +00:00
christos
76c6077db0
Coverity CID 815: Avoid NULL pointer deref.
2006-05-01 05:04:02 +00:00
christos
f2dd1e3c0c
Coverity CID 1772: Close file on error return.
2006-05-01 00:03:15 +00:00
christos
4f0fad7e36
Coverity CID 814: Add extraneous checks to shut up Coverity.
2006-05-01 00:00:12 +00:00
christos
f5c3fa40c3
Coverity CID 1206: Confusion between && and || leads to indexing an array
...
with negative index.
2006-04-30 23:56:42 +00:00
christos
1af32ba03a
Coverity CID 1566: fix memory leak.
2006-04-30 23:54:40 +00:00
christos
1f74082c09
Coverity CID 1972: Don't leak file descriptor.
2006-04-30 23:52:14 +00:00
christos
781d14720c
Coverity CID 1599: Fix memory leak.
2006-04-30 23:49:34 +00:00
christos
fc56e77334
Coverity CID 1483: Off-by-one stack overflow.
2006-04-30 23:43:31 +00:00
christos
9ff5bf4b8a
Coverity CID 788: Fix null pointer deref.
2006-04-30 23:42:06 +00:00
christos
4f6d3973bf
Coverity CID 787: Fix null pointer deref.
2006-04-30 23:40:20 +00:00
christos
0b78752ab3
Coverity CID 749: Comment out dead code.
2006-04-30 23:38:34 +00:00
christos
f84f0d3321
Coverity CID 2972, 2973: Don't call close() with a negative fd.
2006-04-30 23:34:50 +00:00
christos
011be34f91
Coverity CID 1565: Fix memory leak.
2006-04-30 23:30:13 +00:00
christos
7d7dff8590
Coverity CID 2986: Free lines before returning.
2006-04-30 23:27:15 +00:00
liamjfoy
9a4f3f0f6e
remove an unused variable
...
ok christos
2006-04-30 20:23:02 +00:00
liamjfoy
4ed54cf43d
Remove Pflag variable. its unused.
...
ok christos@
2006-04-30 19:24:50 +00:00
christos
0f2aabcd39
Coverity CID 1858, 1857: Fix leaks. While here, pass lint use warn/warnx
...
instead of perror/fprintf. KNF.
2006-04-28 20:35:15 +00:00
christos
69f8117233
Coverity CID 873: Only align if we printed a string.
2006-04-28 20:07:57 +00:00
christos
61e04d677f
Coverity CID 874: Don't check local; it cannot be NULL.
2006-04-28 20:06:50 +00:00
christos
fc5177078a
Coverity CID 875: local is not allowed to be NULL; don't check for it.
2006-04-28 20:05:43 +00:00
christos
32d85d8f66
Coverity CID 2194: Don't forget to free port.
2006-04-28 20:02:07 +00:00