jnemeth
4c99f4ecf2
unlink temp file in error case
2006-05-28 11:33:56 +00:00
jnemeth
305a7bfee2
In bincvt() use fdopen() on the fdesc returned by mkstemp(), instead
...
of fopen().
2006-05-26 11:45:31 +00:00
jnemeth
693e9aec19
Coverity CID 2977: failed to check for error return from ftell()
2006-05-26 11:13:20 +00:00
jnemeth
e10c71d2be
Coverity CID 3685: memory leak
...
While here, check for failure to create temp file in bincvt() and close
unused file descriptor.
XXX bincvt() should be rewritten to use fork()/exec() instead of system().
2006-05-26 10:59:58 +00:00
jnemeth
1124e30e6e
Coverity CID 3027: possible dereference of NULL pointer.
...
Also don't bother zero'ing memory immediately before reading the
.SYS file into it and check for errors while reading the file.
2006-05-26 09:25:27 +00:00
mrg
1eb16ad182
properly match char * with char * instead of u_char *.
2006-05-11 07:12:11 +00:00
rittera
9f5b030f1a
#included sys/lock.h which is apparently needed in order for ndiscvt to
...
compile on NetBSD.
2006-04-03 16:29:57 +00:00
rittera
6f0360f3e9
applied zul's ndiscvt patch
2006-03-30 23:21:06 +00:00
rittera
9f9573165d
added the original files from FreeBSD in usr.sbin/ndiscvt/
2006-03-30 23:00:02 +00:00