Differences From:
File
src/blob.c
part of check-in
[285929373757b]
- Add the %w and %W formatting options for internal printf usage. Use
these formatting characters to render wiki. Fix additional problems of
unterminated wiki on webpage rendering by using %w. (There are probably
more problems yet to be discovered and fixed.)
by
drh on
2007-11-22 22:55:05.
Also file
src/blob.c
part of check-in
[d0305b305a]
- Merged mainline into my branch to get the newest application.
by
aku on
2007-12-05 08:07:46.
[view]
To:
File
src/blob.c
part of check-in
[33c31f73cd]
- Record whether or not files have their execute permission bit set.
Set or clear the execute permission bit upon checkout.
by
drh on
2008-02-21 14:27:34.
Also file
src/blob.c
part of check-in
[588bb7cd73]
- Merged to ed26056bb5.
by
aku on
2008-02-24 18:50:35.
[view]
@@ -242,8 +242,9 @@
** to avoid modifying pBig.
*/
char *blob_terminate(Blob *p){
blob_is_init(p);
+ if( p->nUsed==0 ) return "";
p->aData[p->nUsed] = 0;
return p->aData;
}