From bfdb52d3f6b77bc3ad032a1db6d85813dd284c17 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 19 Aug 2008 18:38:32 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/trunk@18713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 83c1899cd..86c060cfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Wed Aug 20 03:36:45 2008 Tanaka Akira + + * 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 * io.c (fopen): macro for vms removed. fopen is not used now. -- cgit