pax(1): Fix building with -fno-common.-fno-common will be default in future compilers (GCC 10, for example).
world/kernel: Use the rounddown() macro in various places.Tested-by: zrj
pax(8): Remove old prototypes.
pax(8): Switch to using libc's pwcache instead of a local implementation.Based-on: NetBSD
pax(1): Honour the restrict in sigaction().Use a setup_sig() helper and make it fail when either of sigaction fails.While there, do not leak fds for "." + minor cleanup.Taken-from: OpenBSD
Add __attribute__((__noreturn__)) to various function prototypes in bin/.This general cleanup is useful in various ways. It helps the compileroptimize better and it also helps later GCCs detect be
Add __attribute__((__noreturn__)) to various function prototypes in bin/.This general cleanup is useful in various ways. It helps the compileroptimize better and it also helps later GCCs detect better when to give-Wimplicit-fallthrough warnings and when not.Found-with: -Wsuggest-attribute=noreturn
show more ...
Rename getline with get_line to avoid collision with getline(3).Just as it was recently done over at FreeBSD.While there, perform some style changes too (could not resist that).Only readline() ->
Rename getline with get_line to avoid collision with getline(3).Just as it was recently done over at FreeBSD.While there, perform some style changes too (could not resist that).Only readline() -> read_line() functional change was intended.
Remove advertising header from bin/ & sbin/Correct BSD License clause numbering from 1-2-4 to 1-2-3.
Remove unnecessary whitespace in macro arguments in some manual pages.
pax(1): Build without <utmp.h>.
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>
Remove advertising header from man pages.By: Eitan Adler <lists@eitanadler.com>
Remove advertising clause from all that isn't contrib or userland bin.By: Eitan Adler <lists@eitanadler.com>
Remove advertising header from all userland binaries.From: Eitan Adler <lists@eitanadler.com>
Fix various whitespace and indent issues (no functional change).
pax(1): Remove dead initialization.
Replace all casts of NULL to something with NULL.
Add a -O option: force one volume.This causes pax to not prompt for a new volume upon premature end-of-volume(e.g. broken pipe). This is especially useful in automated environmentswhere error re
Add a -O option: force one volume.This causes pax to not prompt for a new volume upon premature end-of-volume(e.g. broken pipe). This is especially useful in automated environmentswhere error recovery cannot be performed by a human.Unbreaks a lot of pkgsrc packages.Obtained-from: NeBSD
pax(1): Remove argument names from prototypes.
pax(1): Fix WARNS regression
Create destination on copy if it doesn't exists.Should conform to SUSv3 and fixes a lot of building failures in pkgsrc.Digged-out-by: Alex Hornung
pax(1): Fix amd64 warnings.
pax(1): Raise WARNS to 2.
* Fix some cases where NULL was used but 0 was meant (and vice versa).* Remove some bogus casts of NULL to (void *).
Use .Nm
12