ruby-changes:8996
From: akr <ko1@a...>
Date: Fri, 5 Dec 2008 07:59:46 +0900 (JST)
Subject: [ruby-changes:8996] Ruby:r20532 (trunk): * io.c (io_binwrite): arg.offset should be updated after retry.
akr 2008-12-05 07:59:25 +0900 (Fri, 05 Dec 2008) New Revision: 20532 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20532 Log: * io.c (io_binwrite): arg.offset should be updated after retry. Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 20531) +++ ChangeLog (revision 20532) @@ -1,3 +1,7 @@ +Fri Dec 5 07:58:30 2008 Tanaka Akira <akr@f...> + + * io.c (io_binwrite): arg.offset should be updated after retry. + Fri Dec 5 03:29:17 2008 Nobuyoshi Nakada <nobu@r...> * load.c (rb_get_load_path): returns the load path without Index: io.c =================================================================== --- io.c (revision 20531) +++ io.c (revision 20532) @@ -795,8 +795,8 @@ } arg.fptr = fptr; arg.str = str; + retry: arg.offset = offset; - retry: arg.length = n; if (fptr->write_lock) { r = rb_mutex_synchronize(fptr->write_lock, io_binwrite_string, (VALUE)&arg); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/