diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-22 16:21:27 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-22 16:21:27 +0000 |
commit | eafa161031a4b548d013e4cb00681017dfa4bd3a (patch) | |
tree | ee04ec26bdffd12b7aa40c62fd61a70fab001c8e /sprintf.c | |
parent | 064fc35b860ddb444b9527b6400c078c95586cfa (diff) | |
download | ruby-eafa161031a4b548d013e4cb00681017dfa4bd3a.tar.gz ruby-eafa161031a4b548d013e4cb00681017dfa4bd3a.tar.xz ruby-eafa161031a4b548d013e4cb00681017dfa4bd3a.zip |
* sprintf.c (ruby__sfvwrite): should move `buf' to the end of
`result'. [ruby-dev:26859]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r-- | sprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -868,6 +868,7 @@ ruby__sfvwrite(fp, uio) if ((len = uio->uio_resid) == 0) return 0; CHECK(len); + buf += blen; fp->_w = bsiz; for (iov = uio->uio_iov; len > 0; ++iov) { MEMCPY(buf, iov->iov_base, char, n = iov->iov_len); |