diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2009-10-24 10:52:07 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2009-10-24 10:52:07 +0000 |
commit | d4693481b1b12982a3168c95d39dac84ece5cf07 (patch) | |
tree | 4f662bd7635659f150ffede1b75ad4cdc99d834c /lang/ruby19 | |
parent | - Deprecate callgrind as it is now a part of valgrind. (diff) |
- Fix issue when the handle of tempfile become closed when the file
was unlinked (see http://redmine.ruby-lang.org/issues/show/1494#note-10).
- Bump PORTREVISION.
PR: ports/139862
Submitted by: Ari Maniatis <ari@ish.com.au>
Obtained from: Ruby SVN
Notes
Notes:
svn path=/head/; revision=243258
Diffstat (limited to 'lang/ruby19')
-rw-r--r-- | lang/ruby19/files/patch-tempfile.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/ruby19/files/patch-tempfile.rb b/lang/ruby19/files/patch-tempfile.rb new file mode 100644 index 000000000000..196f01e417d4 --- /dev/null +++ b/lang/ruby19/files/patch-tempfile.rb @@ -0,0 +1,10 @@ +--- lib/tempfile.rb.orig 2009-07-15 21:57:41.000000000 +1000 ++++ lib/tempfile.rb 2009-10-23 21:31:49.159715744 +1100 +@@ -137,7 +137,6 @@ + # keep this order for thread safeness + begin + if File.exist?(@tmpname) +- closed? or close + File.unlink(@tmpname) + end + @@cleanlist.delete(@tmpname) |