diff options
author | 2003-04-30 23:56:30 +0000 | |
---|---|---|
committer | 2003-04-30 23:56:30 +0000 | |
commit | bfef80f8fc49dc8d59ab66feddee02d18c846300 (patch) | |
tree | 80252a36d53340e66091aeb2603f0a0155f73b91 /lib/libedit/search.c | |
parent | add an ap_server_strip_chroot for LoadModule tags. this partially (diff) | |
download | wireguard-openbsd-bfef80f8fc49dc8d59ab66feddee02d18c846300.tar.xz wireguard-openbsd-bfef80f8fc49dc8d59ab66feddee02d18c846300.zip |
Rework munge_fstab to shrink and clarify code.
Collect all tests that cause a line to be skipped into one test by
using ksh string pattern features instead of case statements.
Simply sed expressions by not worrying about extra commas in the
options field (they're ignored during mount) and assuming 'rw',
'noauto', 'xx' do not appear as substrings in any valid option.
Leave out fs_freq and fs_passno fields as unnecessary during
install/upgrade.
Eliminate special test for '/' mount point and simply strip any
trailing slash from all mount points.
Kicked off my wifried@'s 'xx'/altroot change, and ok'ed in various
incarnations by wilfried@ deraadt@ millert@.
Diffstat (limited to 'lib/libedit/search.c')
0 files changed, 0 insertions, 0 deletions