1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):

simple typo.

* string.c (str_new4): ptr may refer null_str.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-08-05 09:27:21 +00:00
parent 5e12815fb1
commit 808aa5f318
5 changed files with 21 additions and 6 deletions

View file

@ -205,7 +205,7 @@ class Shell
#
def rmdir(*path)
for dir in path
Dir.rmdir(expand_path(path))
Dir.rmdir(expand_path(dir))
end
end