SIGN IN SIGN UP

Fixes to the OsUnlock() interface. Correctly leave a SHARED lock behind

when requested.  Honor the error code that OsUnlock() returns.
Ticket #913 and #938. (CVS 1997)

FossilOrigin-Name: c4697503d0ad080290b91e96dfc9a1a63f2df7e6
D
drh committed
9c105bb990007c678ca28e63b764f8d0b557d5f9
Parent: 0924bba