Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a faulty assert() in the search blob_append(). |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
915d61933c0a3a4c72fd5c1d9fa63f74 |
User & Date: | drh 2015-08-13 18:41:43.397 |
Context
2015-08-15
| ||
18:11 | mention 'ckout' as pseudo-tag for previewing changes to embedded documentation in Check-in Names page ... (check-in: d282fc18 user: michai tags: trunk) | |
2015-08-14
| ||
23:13 | display canonical titles in bold within permuted documentation index ... (check-in: 2a8dd751 user: michai tags: doc-bold-canonical) | |
19:17 | Create new branch named "ckol-th1-dir-cmd" ... (check-in: 19503f88 user: ckolumbus tags: ckol-th1-dir-cmd) | |
2015-08-13
| ||
18:41 | Fix a faulty assert() in the search blob_append(). ... (check-in: 915d6193 user: drh tags: trunk) | |
2015-08-12
| ||
05:39 | Remove unused variable after merge of check-in-edit changes. ... (check-in: d17dc8f2 user: andybradford tags: trunk) | |
Changes
Changes to src/blob.c.
︙ | ︙ | |||
269 270 271 272 273 274 275 | pBlob->xRealloc = blobReallocStatic; } /* ** Append text or data to the end of a blob. */ void blob_append(Blob *pBlob, const char *aData, int nData){ | | | 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 | pBlob->xRealloc = blobReallocStatic; } /* ** Append text or data to the end of a blob. */ void blob_append(Blob *pBlob, const char *aData, int nData){ assert( aData!=0 || nData==0 ); blob_is_init(pBlob); if( nData<0 ) nData = strlen(aData); if( nData==0 ) return; if( pBlob->nUsed + nData >= pBlob->nAlloc ){ pBlob->xRealloc(pBlob, pBlob->nUsed + nData + pBlob->nAlloc + 100); if( pBlob->nUsed + nData >= pBlob->nAlloc ){ blob_panic(); |
︙ | ︙ |