mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	mkmf.rb: fix VC failures
* lib/mkmf.rb (xsystem): assume all warnings go to stderr but not stdout. cl.exe always prints input file names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									7c9e01d3c8
								
							
						
					
					
						commit
						42e149c9ad
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -387,8 +387,9 @@ module MakeMakefile | ||||||
|       if opts and opts[:werror] |       if opts and opts[:werror] | ||||||
|         result = nil |         result = nil | ||||||
|         Logging.postpone do |log| |         Logging.postpone do |log| | ||||||
|           result = (system(libpath_env, command) and File.zero?(log.path)) |           output = IO.popen(libpath_env, command, &:read) | ||||||
|           "" |           result = ($?.success? and File.zero?(log.path)) | ||||||
|  |           output | ||||||
|         end |         end | ||||||
|         result |         result | ||||||
|       else |       else | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu