| #
d7259957 |
| 04-Dec-2022 |
cheloha <cheloha@openbsd.org> |
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument.
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines.
Prompted by dlg@. With help from dlg@ and millert@.
Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
ok naddy@ millert@ dlg@
show more ...
|
| #
62da5ec1 |
| 11-Jul-2018 |
martijn <martijn@openbsd.org> |
Using resolved after realpath(3) has failed is dangerous. Don't do it!
Minor tweak and OK jca@ OK beck@ deraadt@
|
| #
a7b022fd |
| 06-Jun-2016 |
espie <espie@openbsd.org> |
restore my ability to do full bulks. okay deraadt@
|
| #
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
show more ...
|
| #
495741f7 |
| 21-Jan-2014 |
jsg <jsg@openbsd.org> |
include util.h for scan_scaled()
|
| #
5b25c3e7 |
| 03-Jun-2013 |
espie <espie@openbsd.org> |
sprinkle $OpenBSD$, pointed out by pedro
|
| #
8f7d2d0f |
| 02-Jun-2013 |
jmc <jmc@openbsd.org> |
various fixes; passed back to netbsd
|
| #
7013b092 |
| 01-Jun-2013 |
espie <espie@openbsd.org> |
import tmpfs code, originally from netbsd. heavy lifting by Pedro Martelletto, timestamp fixes by me.
THIS IS NOT ENABLED YET, AND REQUIRES UVM CHANGES AND REVIEW. Imported, so that working on it ca
import tmpfs code, originally from netbsd. heavy lifting by Pedro Martelletto, timestamp fixes by me.
THIS IS NOT ENABLED YET, AND REQUIRES UVM CHANGES AND REVIEW. Imported, so that working on it can be mostly done in tree with less painful diff exchanges, and that we have history of further changes.
okay tedu@, deraadt@
show more ...
|