зеркало из https://github.com/github/ruby.git
* lib/shell/command-processor.rb: remove unused variable.
* lib/shell/system-command.rb: ditto. * lib/tmpdir.rb: ditto. * lib/uri/generic.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9b93252828
Коммит
4b8f0e7637
|
@ -1,3 +1,10 @@
|
|||
Sun Jul 27 02:41:50 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/shell/command-processor.rb: remove unused variable.
|
||||
* lib/shell/system-command.rb: ditto.
|
||||
* lib/tmpdir.rb: ditto.
|
||||
* lib/uri/generic.rb: ditto.
|
||||
|
||||
Sun Jul 27 02:08:31 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/weakref.rb: split executable code into sample directory.
|
||||
|
|
|
@ -121,7 +121,7 @@ class Shell
|
|||
end
|
||||
f
|
||||
else
|
||||
f = File.open(path, mode, perm, &b)
|
||||
File.open(path, mode, perm, &b)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -82,7 +82,6 @@ class Shell
|
|||
|
||||
def start_import
|
||||
notify "Job(%id) start imp-pipe.", @shell.debug?
|
||||
rs = @shell.record_separator unless rs
|
||||
_eop = true
|
||||
Thread.start {
|
||||
begin
|
||||
|
|
|
@ -19,7 +19,7 @@ class Dir
|
|||
|
||||
def Dir::tmpdir
|
||||
if $SAFE > 0
|
||||
tmp = @@systmpdir
|
||||
@@systmpdir
|
||||
else
|
||||
tmp = nil
|
||||
for dir in [ENV['TMPDIR'], ENV['TMP'], ENV['TEMP'], @@systmpdir, '/tmp', '.']
|
||||
|
|
|
@ -551,7 +551,7 @@ module URI
|
|||
|
||||
# escapes 'user:password' +v+ based on RFC 1738 section 3.1
|
||||
def escape_userpass(v)
|
||||
v = parser.escape(v, /[@:\/]/o) # RFC 1738 section 3.1 #/
|
||||
parser.escape(v, /[@:\/]/o) # RFC 1738 section 3.1 #/
|
||||
end
|
||||
private :escape_userpass
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче