-C Attempt\sto\sreproduce\sticket\s#3643.\sNo\sluck\syet.\s(CVS\s6267)
-D 2009-02-09T05:18:33
+C Ignore\sthe\sreturn\sstructure\sof\sand\sF_GETLK\sfcntl()\scall\son\sdjgpp.\sFix\sfor\s#3642.\s(CVS\s6268)
+D 2009-02-09T05:32:32
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in c7a5a30fb6852bd7839b1024e1661da8549878ee
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
F src/os.h fa3f4aa0119ff721a2da4b47ffd74406ac864c05
F src/os_common.h 24525d8b7bce66c374dfc1810a6c9043f3359b60
F src/os_os2.c bed77dc26e3a95ce4a204936b9a1ca6fe612fcc5
-F src/os_unix.c f0fce3042011d462b8ae633564a5668260bd3636
+F src/os_unix.c 9f89f98c0782b89a73af08b8acc8bb5d3de5883d
F src/os_win.c 45cb430884da7e9360a55a0fcd5c2c44c22dd79d
F src/pager.c 8c946cca1c1e64bd2d4b15aa431481c96233c826
F src/pager.h 0c9f3520c00d8a3b8e792ca56c9a11b6b02b4b0f
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
-P 9b8c8b18cf6b7d44d5fd64760537bc030097756b
-R 30e7465bf00e62fd3b315d77cbcb5a84
+P 8f2f98d247b04ae6bda34621e9ccdba904f34ad7
+R 0f06921c0632b40086153d35031273c0
U danielk1977
-Z 1ea699664ab462d2f37775530d59d28e
+Z b82cb16c7d4a63bad217eabb0a69a201
-8f2f98d247b04ae6bda34621e9ccdba904f34ad7
\ No newline at end of file
+8227af3463ded1c52d0a16c63b8dbc516eab57f0
\ No newline at end of file
** * Definitions of sqlite3_vfs objects for all locking methods
** plus implementations of sqlite3_os_init() and sqlite3_os_end().
**
-** $Id: os_unix.c,v 1.239 2009/02/03 15:27:02 drh Exp $
+** $Id: os_unix.c,v 1.240 2009/02/09 05:32:32 danielk1977 Exp $
*/
#include "sqliteInt.h"
#if SQLITE_OS_UNIX /* This file is used on unix only */
/* Otherwise see if some other process holds it.
*/
+#ifndef __DJGPP__
if( !reserved ){
struct flock lock;
lock.l_whence = SEEK_SET;
reserved = 1;
}
}
+#endif
unixLeaveMutex();
OSTRACE4("TEST WR-LOCK %d %d %d\n", pFile->h, rc, reserved);
if( IS_LOCK_ERROR(rc) ){
pFile->lastErrno = tErrno;
}
- goto end_unlock;
+ goto end_unlock;
}
}
lock.l_type = F_UNLCK;