hostname(1): Remove unneeded extra parentheses.
hostname(1): Add a compat option -f to print the FQDN (our default).This should fix the build of multimedia/libcec.Found-in: FreeBSD
Use system's RT_ROUNDUP and RT_ADVANCE macros instead of local copies.Reviewed-by: dillon
Correct BSD License clause numbering from 1-2-4 to 1-2-3.Apparently everyone's doing it:http://svnweb.freebsd.org/base?view=revision&revision=251069Submitted-by: "Eitan Adler" <lists at eitanadl
Correct BSD License clause numbering from 1-2-4 to 1-2-3.Apparently everyone's doing it:http://svnweb.freebsd.org/base?view=revision&revision=251069Submitted-by: "Eitan Adler" <lists at eitanadler.com>
show more ...
Remove advertising header from man pages.By: Eitan Adler <lists@eitanadler.com>
Remove advertising header from all userland binaries.From: Eitan Adler <lists@eitanadler.com>
Remove some duplicate includes in bin/, games/ and lib/.
hostname.1: Fix markup
Remove some unnecessary casts.
Remove unused variable.Found-by: LLVM/Clang Static Analyzer
Correct references to obsolete /etc/rc.* files: rc.serial & rc.network.
- sysctl(3), sethostname(3) and malloc(3) set errno, use it!- Don't bother duplicating strings, just use optarg- Use herror(3) when reporting an error for gethostbyaddr(3)- Remove unnecessary head
- sysctl(3), sethostname(3) and malloc(3) set errno, use it!- Don't bother duplicating strings, just use optarg- Use herror(3) when reporting an error for gethostbyaddr(3)- Remove unnecessary header
Moved WARNS?=6 out of subdir Makefiles in to src/bin/Makefile.inc.Subdir that need lower values should set WARNS instead.
Remove not needed void casts.Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Bump hostname to WARNS 6 by initialising silen.
Correct mdoc(7) errors: * correct usage of the .Dx and .Fx macro * remove redundant empty lines * provide a matching .El macro when using .BlSubmitted-by: Brad Harvell <dfbrad@whatzit.org>
More optarg and declaration cleanups.
Fix a bug in the -i code where an existing interface might not be located.sdl_data is not nul terminated, sdl_nlen must be checked and strncmp usedrather then strcmp.
Cleanup conditionals on exit, remove unnecessary free()'s prior to error exit.
Clean up the code in bin/ to reduce warnings from GCC3.Stage 2 of 5 or so: small cleanups across several programs.- Convert ``quad'' types to ``long long''.- Convert appropriate ``int'' types to
Clean up the code in bin/ to reduce warnings from GCC3.Stage 2 of 5 or so: small cleanups across several programs.- Convert ``quad'' types to ``long long''.- Convert appropriate ``int'' types to ``size_t''.- Fix comment syntax to use /* */ instead of //.- Initialize a variable before using it.- Remove an unneeded cast.Submitted-by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
Fix a panic if -i is used on an interface which does not have an IP.Submitted-by: Kent Ibbetson <bsd@kibbet.com>
Add the -r option to set the hostname based on a reverse lookup of an IPaddress, the -i option to set the hostname based on a reverse lookup ofan interface's primary IP address, and -6 and -4 to se
Add the -r option to set the hostname based on a reverse lookup of an IPaddress, the -i option to set the hostname based on a reverse lookup ofan interface's primary IP address, and -6 and -4 to select an interface'sIPV4 or IPV6 address to run the reverse on.Submitted-by: Kent Ibbetson <bsd@kibbet.com>
K&R style function removal. Update functions to ANSI style.Patch has been tested.Submitted by: Eirik NygaardReviewed by: Hiten Pandya
* de-__P()
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Mostids have been removed from !lint sections and moved into comment sections.
12