summaryrefslogtreecommitdiffstats
path: root/libexec/rbootd
Commit message (Collapse)AuthorAgeFilesLines
* Rework all non-contributed files that use `struct timezone'.ed2012-09-012-5/+4
| | | | | | | | | | | | | | This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
* mdoc: fix .Bl -offset.joel2012-05-231-1/+1
|
* Spelling fixes for libexec/uqs2012-01-073-6/+6
|
* In libexec/rbootd/utils.c, use the correct printf length modifiers fordim2011-12-161-3/+3
| | | | | | u_int32_t and size_t. MFC after: 1 week
* Add __unusedcharnier2010-12-201-5/+5
|
* mdoc: use literal text, not a column table to present theuqs2010-06-021-8/+8
| | | | configuration file snippet.
* Make WARNS=6 the default for libexec/.ed2010-01-021-0/+1
| | | | | | | | | | | | | | | Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS.
* Avoid accidental use of ANSI C trigraphs.maxim2004-08-211-1/+2
| | | | | Spotted by: Pawel Worach Obtained from: NetBSD (rev. 1.11, 1.13)
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* Include <netinet/in.h> for ntoh*() and hton*() prototypes.stefanf2004-05-242-0/+2
| | | | Approved by: das (mentor)
* The .Nm utilitycharnier2002-07-061-2/+3
|
* o __P removalimp2002-02-076-105/+69
| | | | | o register removal o use new style prototypes and function definitions
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichkris2002-02-041-0/+2
| | | | are not yet warning-clean. Tested on i386 and alpha.
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for libexec/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-5/+5
|
* Prepare for mdoc(7)NG.ru2000-12-201-5/+5
|
* Constifykris2000-11-271-2/+2
|
* Correct definition of MAXHOSTNAMELEN in ifdef'ed out code.kris2000-11-261-1/+3
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* L_SET -> SEEK_SETkris2000-11-191-1/+1
| | | | Obtained from: OpenBSD
* Format string paranoiakris2000-11-191-1/+2
| | | | Obtained from: OpenBSD
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-101-0/+1
| | | | <time.h>).
* $Id$ -> $FreeBSD$peter1999-08-288-8/+8
|
* Ensure that things returned by gethostname() andbrian1999-04-072-5/+5
| | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde
* Remove no longer needed FreeBSD specific code.steve1998-07-201-6/+1
| | | | | | PR: 5497 Submitted by: Jacob Bohn Lorensen <jacob@jblhome.ping.mk> Obtained from: OpenBSD (indirectly it seems so just to be safe)
* Add usage(), rcsids.charnier1997-11-247-16/+43
|
* Zap register keyword usage and convert: bcopy -> memmove, bzero -> memset,steve1997-06-296-56/+56
| | | | index -> strchr, and rindex -> strrchr.
* Merge conflicts and make this compile -Wall clean.steve1997-06-2912-131/+45
|
* This commit was generated by cvs2svn to compensate for changes in r27074,steve1997-06-297-129/+147
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of NetBSD's rbootd version 19970629steve1997-06-2912-235/+193
| |
* | Show the real revision date and not the date that thissteve1997-06-231-2/+2
| | | | | | | | manpage is being viewed.
* | compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | | | | | posix standard on the topic.
* | Revert $FreeBSD$ to $Id$peter1997-02-225-5/+5
| |
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-145-5/+5
| | | | | | | | | | | | | | | | 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.
* | Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-101-1/+2
| | | | | | | | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
* | add forgotten $Id$wosch1996-09-225-0/+5
| |
* | Correct some man page xrefs, and some other minor changes to bring somempp1996-04-081-2/+1
| | | | | | | | | | | | man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
* | Change `install' to `${INSTALL}' so that default install flags can bebde1995-08-061-1/+1
| | | | | | | | | | | | | | specified in the top level Makefiles. Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary.
* | Remove trailing whitespace.rgrimes1995-05-303-3/+3
| |
* | Update to new make macros and disable Kerberos because we haven't got itwollman1994-08-051-1/+1
| | | | | | | | set up right yet.
* | Disable afterinstall rule as it is broken when you have CVS files around.rgrimes1994-05-301-1/+2
|/ | | | | Reviewed by: Submitted by:
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-2712-0/+3271
OpenPOWER on IntegriCloud