mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bignum.c (get2comp): need to specify to carry or not.
* io.c (rb_io_inspect): embed path info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9ce7325615
commit
088d04d88e
5 changed files with 49 additions and 22 deletions
|
@ -116,11 +116,7 @@ class Shell
|
|||
attr_reader :process_controller
|
||||
|
||||
def expand_path(path)
|
||||
if /^[\/~]/ =~ path
|
||||
File.expand_path(path)
|
||||
else
|
||||
File.expand_path(File.join(@cwd, path))
|
||||
end
|
||||
File.expand_path(path)
|
||||
end
|
||||
|
||||
# Most Shell commands are defined via CommandProcessor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue