diff options
author | danielk1977 <danielk1977@noemail.net> | 2009-01-20 16:53:39 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2009-01-20 16:53:39 +0000 |
commit | 78ca0e7eb429d6545284784425549b0c8e4487b0 (patch) | |
tree | 0ebbecace0d33b828bf813bc089891eacfefe050 /src/legacy.c | |
parent | 770b3cb76399df3eab0282a0f004aa5006c8ada7 (diff) | |
download | sqlite-78ca0e7eb429d6545284784425549b0c8e4487b0.tar.gz sqlite-78ca0e7eb429d6545284784425549b0c8e4487b0.zip |
When not compiling for an EBCDIC system, use built-in alternatives to the tolowe
r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196)
FossilOrigin-Name: 1041abd6784d283bebf646c54e93599522f7889d
Diffstat (limited to 'src/legacy.c')
-rw-r--r-- | src/legacy.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/legacy.c b/src/legacy.c index 5b037f067..e83817da7 100644 --- a/src/legacy.c +++ b/src/legacy.c @@ -14,11 +14,10 @@ ** other files are for internal use by SQLite and should not be ** accessed by users of the library. ** -** $Id: legacy.c,v 1.30 2008/12/10 19:26:24 drh Exp $ +** $Id: legacy.c,v 1.31 2009/01/20 16:53:40 danielk1977 Exp $ */ #include "sqliteInt.h" -#include <ctype.h> /* ** Execute SQL code. Return one of the SQLITE_ success/failure @@ -115,7 +114,7 @@ int sqlite3_exec( if( rc!=SQLITE_SCHEMA ){ nRetry = 0; zSql = zLeftover; - while( isspace((unsigned char)zSql[0]) ) zSql++; + while( sqlite3Isspace(zSql[0]) ) zSql++; } break; } |