- 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
This commit is contained in:
parent
13e5aaa567
commit
d4693481b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243258
2 changed files with 11 additions and 1 deletions
|
@ -198,7 +198,7 @@ RUBY19= "@comment "
|
|||
# Ruby 1.9
|
||||
#
|
||||
RUBY_RELVERSION= 1.9.1
|
||||
RUBY_PORTREVISION= 1
|
||||
RUBY_PORTREVISION= 2
|
||||
RUBY_PORTEPOCH= 1
|
||||
RUBY_PATCHLEVEL= 243
|
||||
|
||||
|
|
10
lang/ruby19/files/patch-tempfile.rb
Normal file
10
lang/ruby19/files/patch-tempfile.rb
Normal file
|
@ -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)
|
Loading…
Reference in a new issue