From 0a7324d8f7aad3aeb78696fa7377c95b1a9d242b Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 23 Apr 2002 16:22:25 +0000 Subject: * ext/stringio/stringio.c (strio_mark): must check if ptr is NULL first. [ruby-talk:38873] * lib/mkmf.rb (create_makefile): should print depend file when make is other than nmake. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mkmf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 66f1f8a03..8889ca17c 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -631,7 +631,8 @@ EOMF mfile.printf "###\n" while line = dfile.gets() line.gsub!(/\.o\b/, ".#{$OBJEXT}") - mfile.printf "%s", line.gsub(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make + line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make + mfile.printf "%s", line end dfile.close end -- cgit