diff options
author | 2006-04-17 12:03:19 +0000 | |
---|---|---|
committer | 2006-04-17 12:03:19 +0000 | |
commit | 7ebe92665562bf65ac0320e8bf55fb762cdd6ce1 (patch) | |
tree | 902854cf63e9170eb2d4bf93c21ead469c53595a /usr.bin/rcs/rcsprog.c | |
parent | Only show a interface once. Some cleanup and silence lint. -moj (diff) | |
download | wireguard-openbsd-7ebe92665562bf65ac0320e8bf55fb762cdd6ce1.tar.xz wireguard-openbsd-7ebe92665562bf65ac0320e8bf55fb762cdd6ce1.zip |
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 'usr.bin/rcs/rcsprog.c')
0 files changed, 0 insertions, 0 deletions