diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-28 02:33:28 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-28 02:33:28 +0000 |
commit | 989b0a6d1e327900f20fcd9b898393b9edbd0c2e (patch) | |
tree | 0e46afe1c792d9adcc4cb8e628cc906f20919cfa /sprintf.c | |
parent | bd3404ced0af1a368e070b6c0fde63290a3e54a8 (diff) | |
download | ruby-989b0a6d1e327900f20fcd9b898393b9edbd0c2e.tar.gz |
* parse.y (f_larglist): allow bv_decl at the end of lambda
argument list. [EXPERIMENTAL]
* parse.y (new_bv_gen): allow local variable shadowing, with
warning in verbose mode.
* ext/socket/socket.c (ruby_connect): break immediately if a
socket is non-blocking. [ruby-talk:111654]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r-- | sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -855,7 +855,7 @@ ruby__sfvwrite(fp, uio) { struct __siov *iov; VALUE result = (VALUE)fp->_bf._base; - char *buf = fp->_p; + char *buf = (char*)fp->_p; size_t len, n; int blen = buf - RSTRING(result)->ptr, bsiz = fp->_w; |