Baptiste Daroussin
01c2b8ac0d
use .Mt to mark up email addresses consistently (part2)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:57:27 +00:00
Warner Losh
c6063d0da8
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
...
from the latter.
2014-05-06 04:22:01 +00:00
Kevin Lo
482d883100
Use INADDR_NONE instead of -1 to check inet_addr() result.
...
Reviewed by: glebius
2013-10-15 07:37:30 +00:00
Joel Dahl
2710751bc3
mdoc sweep.
2013-05-12 22:22:12 +00:00
Joel Dahl
c2965cd185
mdoc: terminate quoted strings.
...
Reviewed by: brueffer
2012-03-26 15:18:14 +00:00
Dimitry Andric
5e0a19bdee
Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
...
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.
MFC after: 1 week
2012-02-07 09:27:07 +00:00
Ed Schouten
b3608ae18f
Replace index() and rindex() calls with strchr() and strrchr().
...
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
Ulrich Spörlein
3df5ecac8c
Spelling fixes for usr.sbin/
2011-12-30 10:58:14 +00:00
Ed Schouten
24cb3af593
Unbreak bootparamd when setting WITHOUT_NIS.
...
Submitted by: bf1783 googlemail com
2010-01-04 18:08:16 +00:00
Olivier Houchard
8ee6e59f46
Remove a useless cast.
...
Spotted out by: stefanf
2008-08-02 00:10:02 +00:00
Olivier Houchard
2b686a3f45
Char is unsigned on arm, so is not suitable to store the return value of
...
getopt(). Use an int instead.
Submitted by: Matthew Luckie
MFC after: 3 days
2008-08-01 13:12:06 +00:00
Rink Springer
3640040a14
Fix bootparamd on 64 bit platforms - at least amd64 was broken due to the
...
code believing long == 64 bits and using it to store/compare IPv4 addresses.
PR: bin/112163
Submitted by: Tyler Spivey <tspivey@pcdesk.net>
Reviewed by: imp
Approved by: imp (mentor)
MFC after: 1 week
2008-01-30 13:48:37 +00:00
Kevin Lo
784bddbc5b
Cleanup of userland __P use
2007-11-07 10:53:41 +00:00
Ruslan Ermilov
e1fe3dba5c
Reimplementation of world/kernel build options. For details, see:
...
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Ruslan Ermilov
59a3c79da6
Sort sections.
2005-01-18 20:02:45 +00:00
Bjoern A. Zeeb
6c58990d47
Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
...
If turned on no NIS support and related programs will be built.
Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks
2004-11-13 20:40:32 +00:00
Stefan Farfeleder
c32a08aebb
- Don't use argv[i] when i is uninitialised.
...
- Cast isdigit's argument to unsigned char.
- Remove the now unused variable i.
Approved by: das (mentor)
2004-06-08 12:11:19 +00:00
Peter Wemm
88b30ea68c
Make this compile cleanly. Switch to using rpcgen to generate
...
code that can be compiled on an ansi-C compiler, so that it puts the
xdrproc_t casts in. This also implies a slight function name change.
2003-10-26 05:51:51 +00:00
Philippe Charnier
490d5836b5
The .Nm utility
2002-07-14 14:47:15 +00:00
Sheldon Hearn
42abf713c9
can not -> cannot
2001-08-08 18:32:06 +00:00
Kris Kennaway
56bded8a29
s/adress/address/
...
Inspired by: OpenBSD
MFC After: 1 week
2001-07-23 12:05:27 +00:00
David E. O'Brien
90e655ea4e
Perform a major cleanup of the usr.sbin Makefiles.
...
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
f6f24f55c3
mdoc(7) police: Remove the debug line that prevents hyphenation
...
for the purposes of spelling checking that left in after my last
visit to this file.
2001-01-24 12:22:39 +00:00
Ruslan Ermilov
60ecaf3730
Mdoc(7)ify.
2000-12-14 08:01:59 +00:00
Wilko Bulte
7186129a1a
Add a workaround in the EXAMPLE section for booting diskless SPARC/SunOS
...
Xkernel machines. Might save people some hair pulling..
Submitted by: rene@tcja.nl
2000-12-11 19:10:07 +00:00
Sheldon Hearn
f2e366a105
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Nik Clayton
414a35e60a
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:12:29 +00:00
Peter Wemm
ca979f0fa6
#include <arpa/inet.h> for inet_* definitions.
1998-06-12 14:39:00 +00:00
Warner Losh
fff3012516
o be careful about buffer overflows
...
o Use snprintf rather than sprintf
This is only lightly tested.
1998-06-09 04:58:36 +00:00
Bruce Evans
6f6040ffb1
Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
...
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first). Sorted sources lists.
1998-05-09 11:32:43 +00:00
Philippe Charnier
f12a14713b
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 08:31:20 +00:00
Bruce Evans
e6b3e43e33
Restored xref to diskless(8). diskless(8) existed but was not installed.
...
PR: 2153
1998-01-01 11:02:45 +00:00
Joerg Wunsch
e91727715c
Fix a number of buffer overflow conditions.
...
PR: bin/4610
Submitted by: David Holland (dholland@burgundy.eecs.harvard.edu )
1997-10-19 10:42:39 +00:00
Philippe Charnier
112eace26d
Use err(3). Add usage and prototypes. Remove Xref: Diskless(8) does not
...
exist. Use An/Aq macros for Author.
1997-09-04 11:50:37 +00:00
Steve Price
681e5e7a09
Show the real revision date and not the date that this
...
manpage is being viewed.
1997-06-23 04:03:49 +00:00
Warner Losh
6c3f552a31
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Peter Wemm
476602a9d0
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
Mike Pritchard
90ac6cd46a
#include <string.h> to help silence -Wall.
1997-02-20 23:11:22 +00:00
Wolfram Schneider
bfd34a4a60
Sort cross references.
1997-01-20 00:03:00 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Mike Pritchard
fefbe220bc
Convert to mdoc format.
1996-12-23 00:22:00 +00:00
Mike Smith
c1abba55d6
Correct the syntax of the example to reflect reality, and note that the
...
'host:' element is mandatory.
A better fix would involve reworking bootparamd not to require a ':'
in the response string.
1996-11-25 01:52:28 +00:00
Mike Pritchard
e35defbe2b
Change references from rpc.bootparamd to bootparamd.
1996-04-07 23:28:25 +00:00
Joerg Wunsch
220e7e44c0
Add bootparams.5.
...
Obtained from: NetBSD
1996-03-28 20:49:31 +00:00
Peter Wemm
a5b996a7ec
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
Bill Paul
3ad4ec7c21
main.c:
...
- use daemon() to daemonify ourselves
- the 'Usage' printf() was missing an argument
- remove declaration of rindex and #include <string.h> instead
bootparam.c:
- get rid of local declarations of YP functions and include headers
from /usr/include/rpcsvc instead.
1995-07-25 22:44:14 +00:00
Bruce Evans
a7aac2725f
Add a dependency on the .x source file and avoid copying it.
...
bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd
kept using the old version which fortunately failed at build time.
Copying hasn't been necessary since path handling was fixed in
rpcgen/rpc_main.c some time ago.
1995-07-04 08:39:27 +00:00