Differences From Artifact [0db3b1e1ec]:
- File src/zip.c — part of check-in [c06edd231f] at 2010-05-16 19:08:45 on branch clear-title — Change from GPL to the Simplified BSD License. (user: drh size: 11532) [more...]
To Artifact [28b0a50338]:
- File src/zip.c — part of check-in [8f41b2fa75] at 2010-10-15 17:13:17 on branch trunk — Replace all malloc() calls with fossil_malloc(). The fossil_malloc() routine panics rather than return a NULL pointer. (user: drh size: 11539)
| ︙ | |||
100 101 102 103 104 105 106 | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | - + |
c = zName[i+1];
zName[i+1] = 0;
for(j=0; j<nDir; j++){
if( strcmp(zName, azDir[j])==0 ) break;
}
if( j>=nDir ){
nDir++;
|
| ︙ |