avos
d983f80ab4
newkey(8): fix 'tmpname' memory leak (always) and input file descriptor leak
...
when output file cannot be opened
PR: 201732
Reported by: David Binderman <dcb314@hotmail.com>
MFC after: 1 week
2019-02-08 14:31:44 +00:00
delphij
0842b7d53f
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
delphij
b963db4652
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
ed
1c22aa10af
Fix compilation of newkey(8) with WITHOUT_NIS=yes.
...
Increasing WARNS seems to have broken compilation of this utility.
Instead of lowering WARNS, just fix to code to compile properly.
Submitted by: <bf2006a yahoo com>
Tested by: bms
2009-02-28 16:16:37 +00:00
stefanf
02bfff4c56
Avoid usage of implicit int.
2005-02-07 21:42:16 +00:00
markm
62123726bd
ANSIfy, VCS inclusions and some very minor style.
2002-04-28 12:09:33 +00:00
imp
1698cb216e
remove __P
2002-03-22 01:33:25 +00:00
markm
8e33fb69fc
WARNS=2 fixup.
...
Turn on YP (NIS) while I'm about it.
2001-12-02 12:17:20 +00:00
brian
8636b161b3
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
des
3ca80efd3a
Calls one or more of malloc(), warn(), err(), syslog(), execlp() or
...
execvp() in the child branch of a vfork(). Changed to use fork()
instead.
Some of these (mv, find, apply, xargs) might benefit greatly from
being rewritten to use vfork() properly.
PR: Loosely related to bin/8252
Approved by: jkh and bde
1998-10-13 14:52:33 +00:00
jb
6d9d1ccd14
Replace incomplete malloc prototype with #include <stdlib.h>
...
to get the proper one.
1998-02-20 04:38:20 +00:00
charnier
7711e701aa
Add usage(), use err(3).
...
Rewrote man page in mdoc format.
1997-07-29 06:54:16 +00:00
wpaul
a63f499713
This commit was generated by cvs2svn to compensate for changes in r26238,
...
which included commits to RCS files with non-trunk default branches.
1997-05-28 15:52:07 +00:00