Fix harmless compiler warnings in fuzzcheck.
FossilOrigin-Name: e7b4ffecc610c494ebd506977402ec48cc799780f96c6293c0ccf27697160aa1
This commit is contained in:
parent
ba6619d7be
commit
1521270010
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Enhance\sthe\s--load-dbsql\sand\srelated\soptions\sof\sfuzzcheck\sso\sthat\sif\sthe\nargument\sis\sa\ssingle\s-\sthen\sfilenames\sare\sread\sfrom\sstandard\sinput.
|
||||
D 2021-04-23T12:58:16.190
|
||||
C Fix\sharmless\scompiler\swarnings\sin\sfuzzcheck.
|
||||
D 2021-04-23T13:57:53.490
|
||||
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
||||
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
||||
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
||||
@ -1049,7 +1049,7 @@ F test/fuzz3.test 9c813e6613b837cb7a277b0383cd66bfa07042b4cf0317157c35852f30043c
|
||||
F test/fuzz4.test c229bcdb45518a89e1d208a21343e061503460ac69fae1539320a89f572eb634
|
||||
F test/fuzz_common.tcl b7197de6ed1ee8250a4f82d67876f4561b42ee8cbbfc6160dcb66331bad3f830
|
||||
F test/fuzz_malloc.test f348276e732e814802e39f042b1f6da6362a610af73a528d8f76898fde6b22f2
|
||||
F test/fuzzcheck.c 5884fb8b9ce3f884fb2407b5baca193ef458244fe8bed727e7dfeeaedd106977
|
||||
F test/fuzzcheck.c 59bcbb5f5c6dcec4f6f5c4e4456b5dc7211ea893f2204c80ceb4277bba83fb9b
|
||||
F test/fuzzdata1.db d36e88741b4f23bcbaaf55b006290669d03c6c891cf13c7b3a53bc1b097b693f
|
||||
F test/fuzzdata2.db 128b3feeb78918d075c9b14b48610145a0dd4c8d6f1ca7c2870c7e425f5bf31f
|
||||
F test/fuzzdata3.db c6586d3e3cef0fbc18108f9bb649aa77bfc38aba
|
||||
@ -1914,7 +1914,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||
P 93729614e21ee674b83b0d2babb71bb758f1a2ec55bf9bda057fb7739f2e14e0
|
||||
R c74134fa30bd59bb0667fa273ac36999
|
||||
P e1548802b6de7037baf388d27a7f3658abafe07b6f48d5ec97e5f644303592d8
|
||||
R 0d6d5083b1bd81e35ec0482661bc1aa7
|
||||
U drh
|
||||
Z 8e87378c3d4125548230641f32954b37
|
||||
Z e0790c7fde3af00747fdeda620b522cb
|
||||
|
@ -1 +1 @@
|
||||
e1548802b6de7037baf388d27a7f3658abafe07b6f48d5ec97e5f644303592d8
|
||||
e7b4ffecc610c494ebd506977402ec48cc799780f96c6293c0ccf27697160aa1
|
@ -1781,10 +1781,10 @@ int main(int argc, char **argv){
|
||||
for(i=iFirstInsArg; i<argc; i++){
|
||||
if( strcmp(argv[i],"-")==0 ){
|
||||
/* A filename of "-" means read multiple filenames from stdin */
|
||||
unsigned char zLine[2000];
|
||||
char zLine[2000];
|
||||
while( rc==0 && fgets(zLine,sizeof(zLine),stdin)!=0 ){
|
||||
size_t kk = strlen(zLine);
|
||||
while( kk>0 && isspace(zLine[kk-1]) ) kk--;
|
||||
while( kk>0 && (zLine[kk]=='\n' || zLine[kk]=='\r')) kk--;
|
||||
sqlite3_bind_text(pStmt, 1, zLine, kk, SQLITE_STATIC);
|
||||
sqlite3_step(pStmt);
|
||||
rc = sqlite3_reset(pStmt);
|
||||
|
Loading…
Reference in New Issue
Block a user