summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2002-11-09 06:16:06 +0000
committerkrw <krw@openbsd.org>2002-11-09 06:16:06 +0000
commitc0730d6270f9e968e737d943477b870f5ce0179a (patch)
tree1978829e060bb6767687d397d53d9b51b4e47e5e /lib/libpthread
parentFix two problems: (diff)
downloadwireguard-openbsd-c0730d6270f9e968e737d943477b870f5ce0179a.tar.xz
wireguard-openbsd-c0730d6270f9e968e737d943477b870f5ce0179a.zip
Code cleanup, simplification and shrinkage.
Eliminate the function get_setsdir() by merging it into install_mounted_fs(). Eliminate global SETSDIR as a result. Move the loop logic used to select the directory to use on a mounted filesystem to a 'done' style loop. i.e. loop until valid input (a directory which exists) or 'done'. 'done' implies abandoning effort to find a directory. Eliminate the test for and associated error message about no filesystems being mounted below the mount point passed to install_mounted_fs(). This served little purpose not addressed by the message generated when a non-existant directory is entered. i.e. novices won't understand and experts can '!' out to investigate. Remove the option to list mounted filesystems. Same reasons as for eliminating the test for mounted filesystems. Move repeated tests for an empty GET_FILES into the function invariably called after the tests (install_get_files()).
Diffstat (limited to 'lib/libpthread')
0 files changed, 0 insertions, 0 deletions