diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-07-07 02:34:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-07-07 02:34:01 +0000 |
commit | 7c41d8ceba7e5d71423a274227c7861beef81ea2 (patch) | |
tree | bc4b48af004f603bfed0a6c047add388a977f149 /libexec/ld.so/library.c | |
parent | eec010478d588de40634e791853257889eefcfad (diff) |
More cleanup/shrinkage/clarification.
a) Eliminate single invocation here document functions
not_going_to_install(), congrats() by putting the here
document at the point of invocation.
b) Make (deliberately) global variables consistantly upper case and
with no leading '_'. Many variables that could be local are still
creating globals.
c) Make all get_* functions names conform to a convention of
get_<global variable name>, where the <global_variable_name>
is the global variable set by the function, or whose new
value is returned by the function.
d) Change _IFS to IFDEVS to be consistant with CDDEVS and DKDEVS,
and initialize it at the same place.
e) Handle bare '+', '-' in same place other selections are parsed
rather than in a separate case statement.
f) eliminate '[ "$var" ] || var=value' constructs with ': ${var:=value}'
constructs.
g) Rename local_sets_dir -> SETSDIR.
h) Rework logic around ftp passwords to eliminate duplications
and ensure a new password is asked for each time.
i) Some minor cosmetic adjustments.
Diffstat (limited to 'libexec/ld.so/library.c')
0 files changed, 0 insertions, 0 deletions