diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-12 13:34:26 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-12 13:34:26 +0000 |
| commit | b93a3376d07a2022bc5b2a6a844087cec2c7b0c5 (patch) | |
| tree | f117a1536af4f02b3a575a5eb5132a4c14d0d2fa /lib | |
| parent | fd98cdb6ab411752b0d869a0dcda2030158ca8ad (diff) | |
| download | ruby-b93a3376d07a2022bc5b2a6a844087cec2c7b0c5.tar.gz ruby-b93a3376d07a2022bc5b2a6a844087cec2c7b0c5.tar.xz ruby-b93a3376d07a2022bc5b2a6a844087cec2c7b0c5.zip | |
* file.c (test_wr, test_ww): New functions implementing new
methods (File::world_readable?, File::world_writable?).
* file.c (S_IRUGO, S_IGUGO): New macros.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/cgi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb index 7f1f42260..f8158858f 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -923,7 +923,7 @@ class CGI %w[ CONTENT_LENGTH SERVER_PORT ].each do |env| define_method(env.sub(/^HTTP_/n, '').downcase) do - val = env_table[env] && Integer(val) + (val = env_table[env]) && Integer(val) end end |
