aboutsummaryrefslogtreecommitdiff
path: root/libexec/rbootd/rbootd.c
Commit message (Collapse)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer2014-02-171-5/+1
| | | | | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=262136
* Rework all non-contributed files that use `struct timezone'.Ed Schouten2012-09-011-4/+3
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=239991
* Spelling fixes for libexec/Ulrich Spörlein2012-01-071-1/+1
| | | | Notes: svn path=/head/; revision=229780
* Add __unusedPhilippe Charnier2010-12-201-5/+5
| | | | Notes: svn path=/head/; revision=216583
* Avoid accidental use of ANSI C trigraphs.Maxim Konovalov2004-08-211-1/+2
| | | | | | | | Spotted by: Pawel Worach Obtained from: NetBSD (rev. 1.11, 1.13) Notes: svn path=/head/; revision=134102
* o __P removalWarner Losh2002-02-071-16/+9
| | | | | | | | o register removal o use new style prototypes and function definitions Notes: svn path=/head/; revision=90377
* Format string paranoiaKris Kennaway2000-11-191-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=68894
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Ensure that things returned by gethostname() andBrian Somers1999-04-071-3/+3
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=45422
* Add usage(), rcsids.Philippe Charnier1997-11-241-4/+16
| | | | Notes: svn path=/head/; revision=31386
* Zap register keyword usage and convert: bcopy -> memmove, bzero -> memset,Steve Price1997-06-291-4/+4
| | | | | | | index -> strchr, and rindex -> strrchr. Notes: svn path=/head/; revision=27079
* Merge conflicts and make this compile -Wall clean.Steve Price1997-06-291-78/+16
| | | | Notes: svn path=/head/; revision=27077
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24349
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* add forgotten $Id$Wolfram Schneider1996-09-221-0/+1
| | | | Notes: svn path=/head/; revision=18471
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8870
* BSD 4.4 Lite Libexec SourcesRodney W. Grimes1994-05-271-0/+508
Notes: svn path=/vendor/CSRG/dist/; revision=1592