diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-04-17 12:03:20 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-04-17 12:03:20 +0000 |
commit | 92fe60d3b357050bf6f284775eca285674b0322d (patch) | |
tree | 3ce524b30bb55a73496e8fccfad51a7402bf1943 /sbin/modload | |
parent | 0e03d3dfb6a2be983878e46762b62fe6226a2a85 (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