[#66678] [ruby-trunk - Feature #10481] Add "if" and "unless" clauses to rescue statements — alex@...
Issue #10481 has been updated by Alex Boyd.
3 messages
2014/12/04
[#66762] Re: [ruby-changes:36667] normal:r48748 (trunk): struct: avoid all O(n) behavior on access — Tanaka Akira <akr@...>
2014-12-10 0:44 GMT+09:00 normal <ko1@atdot.net>:
3 messages
2014/12/10
[#66851] [ruby-trunk - Feature #10585] struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs — funny.falcon@...
Issue #10585 has been updated by Yura Sokolov.
3 messages
2014/12/15
[#67126] Ruby 2.2.0 Released — "NARUSE, Yui" <naruse@...>
We are pleased to announce the release of Ruby 2.2.0.
8 messages
2014/12/25
[#67128] Re: Ruby 2.2.0 Released
— Rodrigo Rosenfeld Rosas <rr.rosas@...>
2014/12/25
I can't install it in any of our Ubuntu servers using rbenv:
[#67129] Re: Ruby 2.2.0 Released
— SHIBATA Hiroshi <shibata.hiroshi@...>
2014/12/25
> I can't install it in any of our Ubuntu servers using rbenv:
[ruby-core:66734] [ruby-trunk - Bug #10577] [Open] Confusing behavior of File.open with bad filenames in windows
From:
prijutme4ty@...
Date:
2014-12-07 12:44:11 UTC
List:
ruby-core #66734
Issue #10577 has been reported by Ilya Vorontsov.
----------------------------------------
Bug #10577: Confusing behavior of File.open with bad filenames in windows
https://bugs.ruby-lang.org/issues/10577
* Author: Ilya Vorontsov
* Status: Open
* Priority: Normal
* Assignee:
* Category: platform/mingw
* Target version:
* ruby -v: 2.1.5p273; 2.0.0p451
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
I've used a colon in a filename in my script and confronted with a confusing behavior when ran program in windows. Ruby ignored the wrong part of a filename and created a file with a shortened name. I find it very dangerous, that a program can silently touch a file with a different name and overwrite it.
File.open('c:\a:b.txt', 'w') do |fw|
fw.puts 'test'
end
It creates a file named c:\a which is... empty. No exception is raised, but a file is created and content is missing.
I guess my version of ruby (actually both 2.0.0p451 and 2.1.5p273) is for mingw platform (I've downloaded them from rubyinstaller.org)
--
https://bugs.ruby-lang.org/