mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Allow for colons in DOS file names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0be45773e
commit
556a2682d1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Jan 6 07:58:28 2005 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/usage.rb (RDoc::RDoc.usage_no_exit): Allow for colons
|
||||
in path names on DOS machines. (thanks to Johan Nilsson)
|
||||
|
||||
Wed Jan 5 20:16:32 2005 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* random.c (limited_big_rand): didn't work if SIZEOF_BDIGITS == 2.
|
||||
|
|
|
@ -96,7 +96,7 @@ module RDoc
|
|||
|
||||
# Display usage
|
||||
def RDoc.usage_no_exit(*args)
|
||||
main_program_file, = caller[-1].split(/:/, 2)
|
||||
main_program_file, = caller[-1].split(/:\d+/, 2)
|
||||
comment = File.open(main_program_file) do |file|
|
||||
find_comment(file)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue