This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]