summaryrefslogtreecommitdiff
path: root/sbin/modload
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-04-17 12:03:20 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-04-17 12:03:20 +0000
commit92fe60d3b357050bf6f284775eca285674b0322d (patch)
tree3ce524b30bb55a73496e8fccfad51a7402bf1943 /sbin/modload
parent0e03d3dfb6a2be983878e46762b62fe6226a2a85 (diff)
Relieve checkin_update and checkin_init of the responsibility of
calling rcs_close() so we don't try to rcs_close() the same file twice if the working file does not exist, resulting in a core dump. The current code also returns the status of the last file, so if we do: $ touch file $ ci nonexistent file that will return 0. GNU returns 1. Fix that. Additionally, it returns -1 on error, which turns into 255. It should return 1. OK niallo@
Diffstat (limited to 'sbin/modload')
0 files changed, 0 insertions, 0 deletions