summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
-rw-r--r--lib/shell/command-processor.rb2
-rw-r--r--lib/shell/system-command.rb1
-rw-r--r--lib/tmpdir.rb2
-rw-r--r--lib/uri/generic.rb2
4 files changed, 3 insertions, 4 deletions
@@ -121,7 +121,7 @@ class Shell
end
f
else
- f = 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
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 #/
end
private :escape_userpass