diff options
author | drh <drh@noemail.net> | 2005-11-29 19:56:32 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-11-29 19:56:32 +0000 |
commit | 392b3ddf2ebe613d701ff3f912ac04b294ce0070 (patch) | |
tree | 8d86bd7b4861922a636028558bc6f1ac5999f423 /src/os_unix.c | |
parent | a2eebaa43b3e7f555f5fb84490814e591b81a001 (diff) | |
download | sqlite-392b3ddf2ebe613d701ff3f912ac04b294ce0070.tar.gz sqlite-392b3ddf2ebe613d701ff3f912ac04b294ce0070.zip |
The crash test works now, at least on unix. Untested on windows. But it never
worked on windows before so if it still does not there is no big loss. I am
still troubled by the current design of the OS overloading mechanism. Expect
to see more changes. (CVS 2794)
FossilOrigin-Name: fa1d7ecfcc648fbe9fc6d92e080cf937bdc9c439
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index cf8552770..c12c59b0c 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1399,7 +1399,7 @@ static int unixClose(OsFile **pId){ OsFile *id = *pId; if( !id ) return SQLITE_OK; if( CHECK_THREADID(id) ) return SQLITE_MISUSE; - sqlite3Io.xUnlock(id, NO_LOCK); + unixUnlock(id, NO_LOCK); if( id->dirfd>=0 ) close(id->dirfd); id->dirfd = -1; sqlite3OsEnterMutex(); |