diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-19 18:38:32 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-19 18:38:32 +0000 |
commit | b929da2a1e03da52fd630d71a940858051f0f456 (patch) | |
tree | b0eceddce8bcf958b63429f709e6a5a7a66507c6 /ChangeLog | |
parent | 77ba9a5f56ff86d1dc014da32b9e385b92c9626b (diff) | |
download | ruby-b929da2a1e03da52fd630d71a940858051f0f456.tar.gz |
* include/ruby/io.h (FMODE_TRUNC): new constant.
* io.c (rb_io_mode_flags): set FMODE_TRUNC for "w".
(rb_io_modenum_flags): set FMODE_TRUNC for O_TRUNC.
(rb_io_flags_modenum): new function.
(rb_io_mode_modenum): just use rb_io_mode_flags and
rb_io_flags_modenum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Wed Aug 20 03:36:45 2008 Tanaka Akira <akr@fsij.org> + + * include/ruby/io.h (FMODE_TRUNC): new constant. + + * io.c (rb_io_mode_flags): set FMODE_TRUNC for "w". + (rb_io_modenum_flags): set FMODE_TRUNC for O_TRUNC. + (rb_io_flags_modenum): new function. + (rb_io_mode_modenum): just use rb_io_mode_flags and + rb_io_flags_modenum. + Wed Aug 20 02:36:21 2008 Tanaka Akira <akr@fsij.org> * io.c (fopen): macro for vms removed. fopen is not used now. |