[#69616] [Ruby trunk - Feature #11258] add 'x' mode character for O_EXCL — cremno@...
Issue #11258 has been updated by cremno phobia.
3 messages
2015/06/16
[#69643] [Ruby trunk - Misc #11276] [RFC] compile.c: convert to use ccan/list — normalperson@...
Issue #11276 has been updated by Eric Wong.
3 messages
2015/06/17
[#69751] [Ruby trunk - Bug #11001] 2.2.1 Segmentation fault in reserve_stack() function. — kubo@...
Issue #11001 has been updated by Takehiro Kubo.
3 messages
2015/06/27
[ruby-core:69617] Re: [Ruby trunk - Feature #11258] add 'x' mode character for O_EXCL
From:
Eric Wong <normalperson@...>
Date:
2015-06-16 19:55:50 UTC
List:
ruby-core #69617
cremno@mail.ru wrote: > Issue #11258 has been updated by cremno phobia. > > File excl_mode_v1.diff added > > Here is a preliminary patch that passes `make test-all` (except for > some RubyGems/SSL tests) on a glibc-based Linux (but I think some less > common code might not work anymore on Windows and other platforms that > don't implement `x` but validate the mode string). Haven't tested, but I like this feature for consistency with glibc and Python. > Also `rb_io_oflags_modestr()` didn't differentiate between `w+` and `r+` > before - was that intended? I hope not, but it may also be too late to change without breaking existing code and causing major data loss...