mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Fix a warning in the osx-specific part of os_unix.c. Ticket #3847. (CVS 6620)
FossilOrigin-Name: 254ca3273cfbd833de82296b4859e1ec5535e8be
This commit is contained in:
12
manifest
12
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Correctly\supdate\sthe\scache\spage-count\swhen\sdiscarding\spages\sin\sthe\sxTruncate()\smethod\sof\sthe\sdefault\spcache\simplementation.\sOtherwise\sthe\seffective\sconfigured\ssize\sof\sthe\scache\sshrinks\seach\stime\sxTruncate()\sis\scalled.\sFix\sfor\s#3844.\s(CVS\s6619)
|
C Fix\sa\swarning\sin\sthe\sosx-specific\spart\sof\sos_unix.c.\sTicket\s#3847.\s(CVS\s6620)
|
||||||
D 2009-05-08T06:52:48
|
D 2009-05-08T11:34:37
|
||||||
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
||||||
F Makefile.in 583e87706abc3026960ed759aff6371faf84c211
|
F Makefile.in 583e87706abc3026960ed759aff6371faf84c211
|
||||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||||
@@ -144,7 +144,7 @@ F src/os.c c2aa4a7d8bb845222e5c37f56cde377b20c3b087
|
|||||||
F src/os.h fa3f4aa0119ff721a2da4b47ffd74406ac864c05
|
F src/os.h fa3f4aa0119ff721a2da4b47ffd74406ac864c05
|
||||||
F src/os_common.h 8c61457df58f1a4bd5f5adc3e90e01b37bf7afbc
|
F src/os_common.h 8c61457df58f1a4bd5f5adc3e90e01b37bf7afbc
|
||||||
F src/os_os2.c bed77dc26e3a95ce4a204936b9a1ca6fe612fcc5
|
F src/os_os2.c bed77dc26e3a95ce4a204936b9a1ca6fe612fcc5
|
||||||
F src/os_unix.c 9ad9f45049a3c9eb0b0713b162ff0d7024ff7259
|
F src/os_unix.c e55d977c516ed880a2f83f0610b019efd9f8bc06
|
||||||
F src/os_win.c 725c38a524d168ce280446ad8761d731bc516405
|
F src/os_win.c 725c38a524d168ce280446ad8761d731bc516405
|
||||||
F src/pager.c e7171336ffb0f8adc41e55b63dbb2bc5a616a1ae
|
F src/pager.c e7171336ffb0f8adc41e55b63dbb2bc5a616a1ae
|
||||||
F src/pager.h 73f481a308a873ccd626d97331c081db3b53e2e5
|
F src/pager.h 73f481a308a873ccd626d97331c081db3b53e2e5
|
||||||
@@ -729,7 +729,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
|
|||||||
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
||||||
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
|
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
|
||||||
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
||||||
P 660108ef7a3c45f735789ba1039be2c37a8b0d0e
|
P 88211ceeec01ee0d3e55231512be26dd672db099
|
||||||
R 151d465606fbfb5ab2c660c5eeee4883
|
R 1496f8e77346601ffa77288043e57397
|
||||||
U danielk1977
|
U danielk1977
|
||||||
Z 93e23517281af2336719fae0462b8142
|
Z 5271daa20456c0819a5a6b09124c54dd
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
88211ceeec01ee0d3e55231512be26dd672db099
|
254ca3273cfbd833de82296b4859e1ec5535e8be
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
** * Definitions of sqlite3_vfs objects for all locking methods
|
** * Definitions of sqlite3_vfs objects for all locking methods
|
||||||
** plus implementations of sqlite3_os_init() and sqlite3_os_end().
|
** plus implementations of sqlite3_os_init() and sqlite3_os_end().
|
||||||
**
|
**
|
||||||
** $Id: os_unix.c,v 1.250 2009/04/07 05:35:04 chw Exp $
|
** $Id: os_unix.c,v 1.251 2009/05/08 11:34:37 danielk1977 Exp $
|
||||||
*/
|
*/
|
||||||
#include "sqliteInt.h"
|
#include "sqliteInt.h"
|
||||||
#if SQLITE_OS_UNIX /* This file is used on unix only */
|
#if SQLITE_OS_UNIX /* This file is used on unix only */
|
||||||
@@ -4427,8 +4427,8 @@ static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){
|
|||||||
len = strlcat(lPath, "sqliteplocks", maxLen);
|
len = strlcat(lPath, "sqliteplocks", maxLen);
|
||||||
if( mkdir(lPath, SQLITE_DEFAULT_PROXYDIR_PERMISSIONS) ){
|
if( mkdir(lPath, SQLITE_DEFAULT_PROXYDIR_PERMISSIONS) ){
|
||||||
/* if mkdir fails, handle as lock file creation failure */
|
/* if mkdir fails, handle as lock file creation failure */
|
||||||
int err = errno;
|
|
||||||
# ifdef SQLITE_DEBUG
|
# ifdef SQLITE_DEBUG
|
||||||
|
int err = errno;
|
||||||
if( err!=EEXIST ){
|
if( err!=EEXIST ){
|
||||||
fprintf(stderr, "proxyGetLockPath: mkdir(%s,0%o) error %d %s\n", lPath,
|
fprintf(stderr, "proxyGetLockPath: mkdir(%s,0%o) error %d %s\n", lPath,
|
||||||
SQLITE_DEFAULT_PROXYDIR_PERMISSIONS, err, strerror(err));
|
SQLITE_DEFAULT_PROXYDIR_PERMISSIONS, err, strerror(err));
|
||||||
|
|||||||
Reference in New Issue
Block a user