* io.c (rb_open_file): encoding in mode string was ignored if perm ismaster
commit92fdc8d48e8245e72c91408cf3da079228f9c45e
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Mon, 18 Aug 2008 16:33:46 +0000 (18 16:33 +0000)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Mon, 18 Aug 2008 16:33:46 +0000 (18 16:33 +0000)
treec31859931992245ab5b0e75de06d8110a866b373
parentece3d957b5e463bb2783e9aee95cb1d976e75880
* io.c (rb_open_file): encoding in mode string was ignored if perm is
  specified.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ChangeLog
io.c
test/ruby/test_io_m17n.rb