Skip to content

Commit

Permalink
* lib/mkmf.rb (checking_for): ignore toplevel.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed May 28, 2010
1 parent 0d42030 commit 9792f30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Fri May 28 10:40:37 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>

* lib/mkmf.rb (checking_for): ignore toplevel.

Fri May 28 00:47:16 2010 Masaya Tarui <tarui@ruby-lnag.org>

* error.c (rb_bug): suppress the error report dialog if report_bug()
Expand Down
2 changes: 1 addition & 1 deletion lib/mkmf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ def message(*s)
# Internal use only.
#
def checking_for(m, fmt = nil)
f = caller[0][/in `(.*)'$/, 1] and f << ": " #` for vim #'
f = caller[0][/in `([^<].*)'$/, 1] and f << ": " #` for vim #'
m = "checking #{/\Acheck/ =~ f ? '' : 'for '}#{m}... "
message "%s", m
a = r = nil
Expand Down

0 comments on commit 9792f30

Please sign in to comment.