ruby-changes:34886
From: hsbt <ko1@a...>
Date: Sun, 27 Jul 2014 02:45:10 +0900 (JST)
Subject: [ruby-changes:34886] hsbt:r46969 (trunk): * lib/shell/command-processor.rb: remove unused variable.
hsbt 2014-07-27 02:44:07 +0900 (Sun, 27 Jul 2014) New Revision: 46969 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46969 Log: * lib/shell/command-processor.rb: remove unused variable. * lib/shell/system-command.rb: ditto. * lib/tmpdir.rb: ditto. * lib/uri/generic.rb: ditto. Modified files: trunk/ChangeLog trunk/lib/shell/command-processor.rb trunk/lib/shell/system-command.rb trunk/lib/tmpdir.rb trunk/lib/uri/generic.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 46968) +++ ChangeLog (revision 46969) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Jul 27 02:41:50 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * 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@g...> * lib/weakref.rb: split executable code into sample directory. Index: lib/uri/generic.rb =================================================================== --- lib/uri/generic.rb (revision 46968) +++ lib/uri/generic.rb (revision 46969) @@ -551,7 +551,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/generic.rb#L551 # 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 Index: lib/shell/system-command.rb =================================================================== --- lib/shell/system-command.rb (revision 46968) +++ lib/shell/system-command.rb (revision 46969) @@ -82,7 +82,6 @@ class Shell https://github.com/ruby/ruby/blob/trunk/lib/shell/system-command.rb#L82 def start_import notify "Job(%id) start imp-pipe.", @shell.debug? - rs = @shell.record_separator unless rs _eop = true Thread.start { begin Index: lib/shell/command-processor.rb =================================================================== --- lib/shell/command-processor.rb (revision 46968) +++ lib/shell/command-processor.rb (revision 46969) @@ -121,7 +121,7 @@ class Shell https://github.com/ruby/ruby/blob/trunk/lib/shell/command-processor.rb#L121 end f else - f = File.open(path, mode, perm, &b) + File.open(path, mode, perm, &b) end end end Index: lib/tmpdir.rb =================================================================== --- lib/tmpdir.rb (revision 46968) +++ lib/tmpdir.rb (revision 46969) @@ -19,7 +19,7 @@ class Dir https://github.com/ruby/ruby/blob/trunk/lib/tmpdir.rb#L19 def Dir::tmpdir if $SAFE > 0 - tmp = @@systmpdir + @@systmpdir else tmp = nil for dir in [ENV['TMPDIR'], ENV['TMP'], ENV['TEMP'], @@systmpdir, '/tmp', '.'] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/