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

10 commits

Author SHA1 Message Date
knu
3ebec77d8a Merge from 1.7:
* lib/tempfile.rb: Embed Rdoc style comments.

* lib/tempfile.rb: Add length as an alias for size.

* lib/tempfile.rb: Add Tempfile#close!() as a shorthand for
  Tempfile#close(true).

* lib/tempfile.rb: Add Tempfile#{unlink,delete}().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-23 14:51:01 +00:00
knu
a0049a72dc Improve the comment section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18 07:26:44 +00:00
knu
85f7a1a04d * lib/tempfile.rb: Make this libary thread safe.
* lib/tempfile.rb: Do not pick a name which was once used and is
  still scheduled for removal.

* lib/tempfile.rb: A lock file need not and must not be scheduled
  for removal.

* lib/tempfile.rb: Compare Max_try with the number of mkdir
  failures instead of the suffix counter.

* lib/tempfile.rb: Overall cleanup and add some important notices.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-17 18:01:17 +00:00
knu
ec35b84429 * lib/tempfile.rb: Merge from 1.7: Add Tempfile#size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11 07:17:18 +00:00
knu
88f586b8ac * lib/tempfile.rb: merge from 1.7: do not delete a used tempfile
from children processes.

* lib/tempfile.rb: merge from 1.7: do not change the umask so as
  not to affect other threads' file creation.  specify a file mode
  (0600) when creating a tempfile instead.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-06 06:32:19 +00:00
matz
2322a13127 matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-12-08 07:10:38 +00:00
matz
23dd3051c0 matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-07-15 13:37:03 +00:00
matz
d1375688cd matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-07-06 07:21:26 +00:00
matz
4890f3a684 2000-02-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-02-29 08:05:32 +00:00
matz
65a5162550 1.4.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-08-13 05:45:20 +00:00