* sprintf.c (ruby__sfvwrite): should move `buf' to the end of
`result'. [ruby-dev:26859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8ec48cb064
commit
4b30596a88
@ -1,3 +1,8 @@
|
|||||||
|
Tue Aug 23 01:11:40 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
|
* sprintf.c (ruby__sfvwrite): should move `buf' to the end of
|
||||||
|
`result'. [ruby-dev:26859]
|
||||||
|
|
||||||
Mon Aug 22 23:51:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Mon Aug 22 23:51:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts with
|
* parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts with
|
||||||
|
@ -868,6 +868,7 @@ ruby__sfvwrite(fp, uio)
|
|||||||
if ((len = uio->uio_resid) == 0)
|
if ((len = uio->uio_resid) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
CHECK(len);
|
CHECK(len);
|
||||||
|
buf += blen;
|
||||||
fp->_w = bsiz;
|
fp->_w = bsiz;
|
||||||
for (iov = uio->uio_iov; len > 0; ++iov) {
|
for (iov = uio->uio_iov; len > 0; ++iov) {
|
||||||
MEMCPY(buf, iov->iov_base, char, n = iov->iov_len);
|
MEMCPY(buf, iov->iov_base, char, n = iov->iov_len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user