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

12 commits

Author SHA1 Message Date
usa
76015fc14a * lib/tmpdir.rb: setup buffer with nul characters instead of spaces.
fixed [ruby-dev:36493]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 05:40:34 +00:00
nobu
08db814b84 * lib/tmpdir.rb (@@systmpdir): prior LOCAL_APPDATA if possible, and
should be clean.  based on a patch from arton <artonx AT
  yahoo.co.jp> at [ruby-dev:35269]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29 00:43:12 +00:00
akr
238815c3b2 doc. wording fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24 06:03:48 +00:00
akr
3c91f332c5 * lib/tmpdir.rb (Dir.mktmpdir): make directory suffix specifiable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 12:15:34 +00:00
akr
46cd1e338b * lib/tmpdir.rb (Dir.mktmpdir): new method.
[ruby-dev:31462]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18 12:33:43 +00:00
usa
58b331d377 * lib/tmpdir.rb: use return value of getdir.call for length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-28 11:54:37 +00:00
matz
e25feba67b * signal.c (Init_signal): revert C++ style comment.
[ruby-dev:28041]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-15 15:57:06 +00:00
eban
2dfe646bae * lib/tmpdir.rb: use GetWindowsDirectory, not GetSystemDirectory. [ruby-talk:77073]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 15:38:58 +00:00
eban
02f036ddbc * lib/tmpdir.rb (tmpdir): new method. remove TMPDIR.
use GetSystemWindowsDirectory(GetSystemDirectory), not GetTempPath.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:37:35 +00:00
matz
0d1df1cd7d * variable.c (rb_mod_const_missing): new method. [ruby-core:00441]
* variable.c (rb_const_get_at): allow "const_missing" hook.

* variable.c (rb_const_get_0): ditto.

* eval.c (method_missing): rename from rb_undefined to clarify.

* eval.c (ruby_finalize_0): update exit status if any of END proc
  raises SystemExit. [ruby-core:01256]

* eval.c (rb_exec_end_proc): reduce rb_protect().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 08:42:47 +00:00
usa
8f81d082af * lib/tmpdir.rb: remove charcters after "\000" and regularize path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 01:53:58 +00:00
matz
2416271405 * lib/tmpdir.rb: new library to get temporary directory path,
using GetTempPath on Win32 environment.

* lib/tempfile.rb: now uses tmpdir.rb.

* lib/cgi/session.rb, ib/drb/unix.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 15:34:18 +00:00