diff options
author | stas <stas@FreeBSD.org> | 2009-10-24 18:52:07 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-10-24 18:52:07 +0800 |
commit | 73ce7fc794b5e6b68a400829c065374ad45435d1 (patch) | |
tree | c5817057ee76e28892deb1399f9d54f183e7557b /lang/ruby19 | |
parent | 70d1b59afd0d89ef19eca0e5acc2ea235e2fb6cc (diff) | |
download | freebsd-ports-gnome-73ce7fc794b5e6b68a400829c065374ad45435d1.tar.gz freebsd-ports-gnome-73ce7fc794b5e6b68a400829c065374ad45435d1.tar.zst freebsd-ports-gnome-73ce7fc794b5e6b68a400829c065374ad45435d1.zip |
- 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
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) |