forked from IronLanguages/main
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes on top of Jirapong's fix for Kernel.open
- Loading branch information
Shri Borde
committed
Apr 10, 2009
1 parent
b2bda3c
commit 5e8c6b2
Showing
5 changed files
with
106 additions
and
32 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.../External.LCA_RESTRICTED/Languages/IronRuby/mspec/ironruby-tags/core/kernel/open_tags.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
fails:Kernel#open opens an io when path starts with a pipe | ||
fails:Kernel#open opens an io when called with a block | ||
fails:Kernel#open sets the file as writable if perm is nil | ||
fails:Kernel#open allows nil for perm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5e8c6b2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bool existingFile = RubyFileOps.FileExists(context, path.ConvertToString());
should be
bool existingFile = RubyFileOps.FileExists(context, filename);