This is the mail archive of the
cygwin-patches@sources.redhat.com
mailing list for the Cygwin project.
Re: link(existing_file_1,existing_file_2) return 0 and actually doing the link
- To: cygpatch <cygwin-patches at sourceware dot cygnus dot com>
- Subject: Re: link(existing_file_1,existing_file_2) return 0 and actually doing the link
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Thu, 31 Aug 2000 00:06:28 -0400
- References: <4585031418.20000829122541@logos-m.ru>
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