diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-23 00:11:34 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-23 00:11:34 +0000 |
| commit | 97a848151bbebd179b2373f04a1f5b288fe57963 (patch) | |
| tree | 90e61147ff5b891f79184aae582e274f47ee02d2 /eval.c | |
| parent | 9b97c2435c1d6fdbcdfab104cb1ac3359d40dff2 (diff) | |
| download | ruby-97a848151bbebd179b2373f04a1f5b288fe57963.tar.gz ruby-97a848151bbebd179b2373f04a1f5b288fe57963.tar.xz ruby-97a848151bbebd179b2373f04a1f5b288fe57963.zip | |
* lib/cgi/session.rb (CGI::Session::FileStore#update): sets the
permission of the session data file to 0600.
* lib/cgi/session/pstore.rb (CGI::Session::Pstore#initialize):
ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10913,10 +10913,13 @@ rb_thread_sleep(sec) void rb_thread_sleep_forever() { + int thr_critical = rb_thread_critical; if (curr_thread == curr_thread->next || curr_thread->status == THREAD_TO_KILL) { + rb_thread_critical = Qtrue; TRAP_BEG; pause(); + rb_thread_critical = thr_critical; TRAP_END; return; } |
