mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/fileutils.rb (uptodate?): remove useless parameter.
patched by Oscar Del Ben.[Bug #6708][ruby-core:46256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									8d0b1c2518
								
							
						
					
					
						commit
						e6021a1be2
					
				
					 2 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Mon Jul 16 16:56:12 2012  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>
 | 
			
		||||
 | 
			
		||||
	* lib/fileutils.rb (public): remove useless parameter.
 | 
			
		||||
	  patched by Oscar Del Ben.[Bug #6708][ruby-core:46256]
 | 
			
		||||
 | 
			
		||||
Mon Jul 16 15:37:56 2012  Tanaka Akira  <akr@fsij.org>
 | 
			
		||||
 | 
			
		||||
	* bignum.c (rb_big_eq): use rb_big_float_cmp.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -221,9 +221,7 @@ public
 | 
			
		|||
  #   FileUtils.uptodate?('hello.o', %w(hello.c hello.h)) or \
 | 
			
		||||
  #       system 'make hello.o'
 | 
			
		||||
  #
 | 
			
		||||
  def uptodate?(new, old_list, options = nil)
 | 
			
		||||
    raise ArgumentError, 'uptodate? does not accept any option' if options
 | 
			
		||||
 | 
			
		||||
  def uptodate?(new, old_list)
 | 
			
		||||
    return false unless File.exist?(new)
 | 
			
		||||
    new_time = File.mtime(new)
 | 
			
		||||
    old_list.each do |old|
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue