mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/cgi.rb (CGI::NEEDS_BINMODE): check if O_BINARY value instead
of fragile check by platform name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
546b6d7e9c
commit
b2f0b3342c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun May 2 08:54:37 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/cgi.rb (CGI::NEEDS_BINMODE): check if O_BINARY value instead
|
||||
of fragile check by platform name.
|
||||
|
||||
Sun May 2 07:38:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (dir_config): should not modify argument arrays
|
||||
|
|
|
@ -286,7 +286,7 @@ class CGI
|
|||
|
||||
REVISION = '$Id$' #:nodoc:
|
||||
|
||||
NEEDS_BINMODE = true if /WIN/ni.match(RUBY_PLATFORM)
|
||||
NEEDS_BINMODE = File::BINARY != 0
|
||||
|
||||
# Path separators in different environments.
|
||||
PATH_SEPARATOR = {'UNIX'=>'/', 'WINDOWS'=>'\\', 'MACINTOSH'=>':'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue