ruby-changes:2912
From: ko1@a...
Date: 21 Dec 2007 14:47:29 +0900
Subject: [ruby-changes:2912] akr - Ruby:r14403 (trunk): * io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist.
akr 2007-12-21 14:47:15 +0900 (Fri, 21 Dec 2007) New Revision: 14403 Modified files: trunk/ChangeLog trunk/io.c Log: * io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14403&r2=14402 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=14403&r2=14402 Index: ChangeLog =================================================================== --- ChangeLog (revision 14402) +++ ChangeLog (revision 14403) @@ -1,3 +1,7 @@ +Fri Dec 21 14:46:07 2007 Tanaka Akira <akr@f...> + + * io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist. + Fri Dec 21 14:01:14 2007 Yukihiro Matsumoto <matz@r...> * test/ruby/test_system.rb (TestSystem::valid_syntax): apply Index: io.c =================================================================== --- io.c (revision 14402) +++ io.c (revision 14403) @@ -6346,6 +6346,8 @@ #endif #ifdef O_BINARY rb_file_const("BINARY", INT2FIX(O_BINARY)); +#else + rb_file_const("BINARY", INT2FIX(0)); #endif #ifdef O_SYNC rb_file_const("SYNC", INT2FIX(O_SYNC)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml