help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ruby 1.8preview2


From: James A. Morrison
Subject: Re: ruby 1.8preview2
Date: 26 Mar 2003 13:17:37 -0500

 Why are these changes needed?

Jim


On Wed, 2003-03-26 at 15:10, Manfred Hansen wrote:
> Hello,
> 
> i have compiled ruby 1.8preview2.
> 
> This is what i have change:
> 
> --- ruby-1.8.0_org/ext/dl/extconf.rb    2003-03-24 22:11:12.000000000 +0100
> +++ ruby-1.8.0/ext/dl/extconf.rb        2003-03-24 22:11:10.000000000 +0100
> @@ -151,7 +151,7 @@
> 
>  def File.update(file, str)
>    begin
> -    open(file){|f|f.read} == str
> +    open(file,File::CREAT|File::TRUNC|File::RDWR, 0644){|f|f.read} == str
>    rescue Errno::ENOENT
>      false
>    end or open(file, "w"){|f|f.print(str)}
> 
> 
> --- ruby-1.8.0_org/lib/fileutils.rb     2003-02-27 09:02:31.000000000 +0100
> +++ ruby-1.8.0/lib/fileutils.rb 2003-03-24 22:03:54.000000000 +0100
> @@ -627,11 +627,11 @@
>      return if noop
> 
>      fu_each_src_dest(src, dest) do |s,d|
> -      unless FileTest.exist? d and cmp(s,d)
> -        remove_file d, true
> +      #unless FileTest.exist? d and cmp(s,d)
> +      #  remove_file d, true
>          copy_file s, d
>          File.chmod mode, d if mode
> -      end
> +      #end
>      end
>    end
> 
> Regards Manfred
> 
> 
> _______________________________________________
> Help-hurd mailing list
> Help-hurd@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-hurd
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]