git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b212c44
)
Fixed default minium size in vsnprintf being 1 (should be 0)
author
John Hodge
<
[email protected]
>
Wed, 2 Mar 2011 05:05:33 +0000
(13:05 +0800)
committer
John Hodge
<
[email protected]
>
Wed, 2 Mar 2011 05:05:33 +0000
(13:05 +0800)
- Fixes empty strings being inserted as one space
Kernel/lib.c
patch
|
blob
|
history
diff --git
a/Kernel/lib.c
b/Kernel/lib.c
index
5f277b8
..
27995b0
100644
(file)
--- a/
Kernel/lib.c
+++ b/
Kernel/lib.c
@@
-260,7
+260,7
@@
int vsnprintf(char *__s, size_t __maxlen, const char *__format, va_list args)
}
}
else
- minSize =
1
;
+ minSize =
0
;
// - Precision
precision = -1;
UCC
git Repository :: git.ucc.asn.au