link(existing_file_1,existing_file_2) return 0 and actually doing the link

Chris Faylor cgf@cygnus.com
Wed Aug 30 21:07:00 GMT 2000


On Tue, Aug 29, 2000 at 12:25:41PM +0400, Egor Duda wrote:
>Hi!
>
>  link(existing_file_1,existing_file_2)  returns 0 and actually doing the
>link, but should not.

Couldn't you achieve the same effect here by just testing that the value
of real_b.get_win32.file_attributes () == (DWORD)-1 ?

cgf


More information about the Cygwin-patches mailing list