* 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
* 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
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