summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc_debug.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-12-05 21:45:01 +0000
committermillert <millert@openbsd.org>2002-12-05 21:45:01 +0000
commita4cca5d96e23aa5fcbb8e59efd04c60fefac436a (patch)
treecf6b2e1b689c5ca1b067f30e10092accf45a62d1 /sys/kern/kern_malloc_debug.c
parentsimple regress for getopt_long() and getopt_long_only() (diff)
downloadwireguard-openbsd-a4cca5d96e23aa5fcbb8e59efd04c60fefac436a.tar.xz
wireguard-openbsd-a4cca5d96e23aa5fcbb8e59efd04c60fefac436a.zip
Reorganize this so that getopt_only_only() works correctly.
In order for getopt_only_only() to work we need to check for long options before short ones. I have merged getopt_internal and getopt_long_internal into a single function with the actual long args parsing broken out into a separate function. This also simplifies the flow of control.
Diffstat (limited to 'sys/kern/kern_malloc_debug.c')
0 files changed, 0 insertions, 0 deletions