mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
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
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
** is not included in the SQLite library. It is used for automated
|
||||
** testing of the SQLite library.
|
||||
**
|
||||
** $Id: test2.c,v 1.67 2009/01/16 16:23:38 danielk1977 Exp $
|
||||
** $Id: test2.c,v 1.68 2009/01/20 16:53:41 danielk1977 Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "tcl.h"
|
||||
@@ -584,10 +584,10 @@ static int testBitvecBuiltinTest(
|
||||
if( Tcl_GetInt(interp, argv[1], &sz) ) return TCL_ERROR;
|
||||
z = argv[2];
|
||||
while( nProg<99 && *z ){
|
||||
while( *z && !isdigit(*z) ){ z++; }
|
||||
while( *z && !sqlite3Isdigit(*z) ){ z++; }
|
||||
if( *z==0 ) break;
|
||||
aProg[nProg++] = atoi(z);
|
||||
while( isdigit(*z) ){ z++; }
|
||||
while( sqlite3Isdigit(*z) ){ z++; }
|
||||
}
|
||||
aProg[nProg] = 0;
|
||||
rc = sqlite3_test_control(SQLITE_TESTCTRL_BITVEC_TEST, sz, aProg);
|
||||
|
||||
Reference in New Issue
Block a user