[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

Re: File.link on Win32

From: "Berger, Daniel" <Daniel.Berger@...>
Date: 2004-11-12 21:17:10 UTC
List: ruby-core #3725
> -----Original Message-----
> From: Tim [mailto:timsuth@ihug.co.nz] 
> Sent: Friday, November 12, 2004 2:08 PM
> To: ruby-core@ruby-lang.org
> Subject: Re: File.link on Win32
<snip>
> > 
> > Any ideas?
> 
> File.link uses CreateHardLinkA which creates a "hard link" (using
> inodes) rather than a shortcut.
> 
> Try doing
>  File.link("C:\\temp.txt","C:\\temp2.txt")
> and then reading the "temp2.txt" file.
> 
> This will only work on NTFS I think.
> 
> It's like using the `ln' program on a unix system.

I see, and Windows doesn't like it when I use '.lnk' as the extension.
In that case I should probably send a note off to PragDave to change the
example and update the notes for File.link in Pickaxe II. :)

Thanks.

Dan



In This Thread

Prev Next