Continuing to refactor os_unix.c. This is an incremental check-in. (CVS 5967)

FossilOrigin-Name: c13df0311ef4f6a510f42105293f7c53c323fda8
This commit is contained in:
drh
2008-11-29 02:20:26 +00:00
parent 7708e9720b
commit 9b35ea62c7
6 changed files with 78 additions and 66 deletions
+9 -2
View File
@@ -13,7 +13,7 @@
** is not included in the SQLite library. It is used for automated
** testing of the SQLite library.
**
** $Id: test1.c,v 1.333 2008/11/29 00:56:53 drh Exp $
** $Id: test1.c,v 1.334 2008/11/29 02:20:27 drh Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -4527,7 +4527,14 @@ static int file_control_lockproxy_test(
}
if( getDbPointer(interp, Tcl_GetString(objv[1]), &db) ) return TCL_ERROR;
#if defined(SQLITE_ENABLE_LOCKING_STYLE) && defined(__DARWIN__)
#if !defined(SQLITE_ENABLE_LOCKING_STYLE)
# if defined(__DARWIN__)
# define SQLITE_ENABLE_LOCKING_STYLE 1
# else
# define SQLITE_ENABLE_LOCKING_STYLE 0
# endif
#endif
#if SQLITE_ENABLE_LOCKING_STYLE && defined(__DARWIN__)
{
char *proxyPath = "test.proxy";
char *testPath;