зеркало из https://github.com/github/ruby.git
* 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/trunk@27581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
12d39082c5
Коммит
6874c8d686
|
@ -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
|
||||
|
|
|
@ -13,7 +13,7 @@ class CGI
|
|||
|
||||
REVISION = '$Id$' #:nodoc:
|
||||
|
||||
NEEDS_BINMODE = true if /WIN/i.match(RUBY_PLATFORM)
|
||||
NEEDS_BINMODE = File::BINARY != 0
|
||||
|
||||
# Path separators in different environments.
|
||||
PATH_SEPARATOR = {'UNIX'=>'/', 'WINDOWS'=>'\\', 'MACINTOSH'=>':'}
|
||||
|
|
Загрузка…
Ссылка в новой задаче