Christopher Faylor
Sun Jun 17 07:43:00 GMT 2001

On Sun, Jun 17, 2001 at 03:34:33PM +0400, egor duda wrote:
>CV> The patch is fine, IMO.
>unfortunately, when file resides on a remote share,
>CreateFile (fname,0,...,OPEN_EXISTING,...) returns valid handle even
>if file doesn't exist! i've seen this on nt4, share is nt4 too. just
>try to 'touch //server/share/non-exiting-file' -- it prints "file
>doesn't exist" instead of creating it.
>this patch is supposed to work around it. Can anybody test it in
>w9x/w2k/samba environments?

It actually worked fine with Samba before, at least in my setup.

It still works fine after this patch and the behavior that you mention
above is rectified when accessing shares between two Windows systems.

Ok to check in?


More information about the Cygwin-patches mailing list