1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/tmpdir.rb: merged RDoc patch from Eric Hodel <drbrain at

segment7.net>.  [ruby-core:06894]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2005-12-15 03:41:13 +00:00
parent 7d62299a27
commit 2d6dad4f4f
4 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Dec 15 12:35:14 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/tmpdir.rb: merged RDoc patch from Eric Hodel <drbrain at
segment7.net>. [ruby-core:06894]
Thu Dec 15 01:33:31 2005 Tanaka Akira <akr@m17n.org>
* ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call on

2
gc.c
View file

@ -596,7 +596,7 @@ gc_mark_rest(void)
MEMCPY(tmp_arry, mark_stack, VALUE, MARK_STACK_MAX);
init_mark_stack();
while(p != tmp_arry){
while (p != tmp_arry){
p--;
gc_mark_children(*p, 0);
}

View file

@ -39,5 +39,6 @@ thread.rb
thwait.rb
time.rb
timeout.rb
tmpdir.rb
uri
yaml.rb

View file

@ -24,6 +24,9 @@ class Dir
rescue LoadError
end
##
# Returns the operating system's temporary file path.
def Dir::tmpdir
tmp = '.'
if $SAFE > 0