On Jul 26, 2004, at 11:19, Zakaria wrote:
> The actual problem is:
> 1. The path is UNIX style which must be converted to DOS style before
>    passed on to external program.
> 2. For some reason in Windows ME Tempfile is working intermittenly.
>    As a workaround I unlink it after use and it always works.
>
> Here's the patch
> ======================================================================= 
> ======
> --- ri_display.rb.orig	2004-03-25 22:31:10.000000000 +0700
> +++ ri_display.rb	2004-07-26 22:34:26.000000000 +0700
> @@ -210,7 +210,8 @@
>        require 'tempfile'
>
>        @save_stdout = STDOUT.clone
> -      STDOUT.reopen(Tempfile.new("ri_"))
> +      @tempfile = Tempfile.new("ri_")
> +      STDOUT.reopen(@tempfile)
>      end
>    end

I went to apply this patch, and discovered that it doesn't correspond  
to the current 'ri' source. Is this really the version of ri being  
distributed in the windows installer?


Cheers

Dave