Commit Graph

40 Commits

Author SHA1 Message Date
christos a52c240b50 Coverity CID 2285: in the dump and dumpshort case, don't trash head so that
we can free the memory later.
2006-05-24 16:04:03 +00:00
christos a2170ce453 make sure that netid always points to an allocated string. Pointed out by
enami; thanks.
2006-04-05 12:57:29 +00:00
christos e0b8cfed06 Coverity CID 2287: Fix memory leak.
Plus:
	- change fprintf -> errx
	- remove unneeded casts
	- avoid err() shadowing
2006-04-03 15:21:26 +00:00
christos 002be29d1a Coverity CID 2290: Fix memory leak. 2006-04-02 03:33:55 +00:00
lukem 5c37c8a0a3 Cleanup use of 'host' when running 'rpcinfo -p'.
Appease other -Wuninitialized warnings.
2005-06-02 02:46:16 +00:00
lukem 7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
dsl d0ad315f4f Add (unsigned char) cast to ctype functions 2004-11-01 21:39:32 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
fvdl 3ee8341b2f Don't assign NULL to a char. 2003-10-21 02:24:59 +00:00
agc 44481e1ab2 Pull in <sys/param.h> explicitly. 2003-04-29 17:55:00 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
tron 60f1df5f64 Don't include obsolete include file "rpc_com.h" any more. 2002-11-08 14:19:42 +00:00
lukem 5d4973fe97 makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
fair 37cef1f77e Minor nroff formatting fixes per PR 13800 2002-01-13 07:15:50 +00:00
wiz 7f53caa9d5 Drop a .Pp. 2001-12-08 19:12:46 +00:00
bjh21 b95ddc4862 Correct broken markup in description of -l.
Correct the second synopsis to match the description and the usage message.
2001-10-02 14:45:43 +00:00
bjh21 32261d4b9a Add .It for -d and -l as well. 2001-10-02 14:41:31 +00:00
bjh21 46dfe969fe Small formatting changes: Correctly mark the paragraph on -p with .It, and
don't put excess words in .Ar in one of the examples.
2001-10-02 14:38:09 +00:00
wiz c9d23d9780 netconfig(4) -> (5). Fix option section. Whitespace fixes. Sort SEE ALSO. 2001-04-04 09:42:49 +00:00
mjl b46ec3b29b getopt(3) returns -1 not EOF. 2000-10-04 20:09:04 +00:00
itojun 82cbc88d2a pull rpc/nettype.h in, for some of function prototype. checked by fvdl 2000-07-07 15:00:57 +00:00
fvdl 6ae2cb140a Fixup field with a bit. 2000-06-03 15:34:44 +00:00
fvdl b992cb1db9 Update rpcinfo to handle rpcbind version 3 and 4. Taken from Sun TI-RPC
distribution.
2000-06-02 23:19:38 +00:00
christos 20a2ed5105 revert previous cast. 1998-12-19 21:31:37 +00:00
christos 681ecbf381 a few casts, and char -> unsigned char 1998-12-19 21:27:40 +00:00
lukem d3fed48809 revert; we can't break the existing ABI and API 1998-02-12 03:52:12 +00:00
lukem 54305d4d11 use %d instead of %ld 1998-02-10 07:15:34 +00:00
lukem 79da0bed76 minor whitespace fixup 1998-02-08 13:39:09 +00:00
lukem 20e7acbab5 WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 14:20:43 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
mycroft bd3a2a6b4e Use inet_aton(), not inet_addr(). 1995-05-21 14:46:39 +00:00
cgd 9e97520947 specify man pages the new way. 1994-12-22 12:30:38 +00:00
cgd f771d07953 no more librpc 1993-10-08 02:34:16 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 75ff3a90bd Add RCS identifiers. 1993-07-30 23:49:23 +00:00
jtc 1a9c05a062 convert manpages to -mandoc macros 1993-06-10 19:15:08 +00:00
mycroft 0b3fc2c11f Cleanup for GCC 2. 1993-04-19 07:39:27 +00:00
glass 26819b24df Added rpcinfo(8) 1993-04-03 00:52:27 +00:00