projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d669d
)
maxlen is in characters, _cnt is in bytes.
author
Gé van Geldorp
<ge@gse.nl>
Fri, 9 Sep 2005 14:47:35 +0000
(14:47 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Fri, 9 Sep 2005 14:47:35 +0000
(14:47 +0000)
Note: rebuild of lib/crt required for this change to take effect
(make crt_clean; make crt)
This brings the VMware Tools installer a hell of a lot further (bug 717).
svn path=/trunk/; revision=17765
reactos/lib/crt/stdio/vsprintf.c
patch
|
blob
|
history
diff --git
a/reactos/lib/crt/stdio/vsprintf.c
b/reactos/lib/crt/stdio/vsprintf.c
index
47b776b
..
2518968
100644
(file)
--- a/
reactos/lib/crt/stdio/vsprintf.c
+++ b/
reactos/lib/crt/stdio/vsprintf.c
@@
-35,7
+35,7
@@
_vsntprintf(_TCHAR *str, size_t maxlen, const _TCHAR *fmt, va_list ap)
f._flag = _IOWRT|_IOSTRG|_IOBINARY;
f._ptr = (char*)str;
- f._cnt = maxlen;
+ f._cnt = maxlen
* sizeof(_TCHAR)
;
f._file = -1;
len = _vftprintf(&f,fmt, ap);
// what if the buffer is full ??