From: root AT jacob DOT remcomp DOT fr (root) Subject: Re: file sharing during write 25 Jan 1997 00:02:11 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Content-Type: text Original-To: jqb AT netcom DOT com (Jim Balter) Original-Cc: gnu-win32 AT cygnus DOT com In-Reply-To: <32E80DFA.6C8@netcom.com> from "Jim Balter" at Jan 23, 97 05:18:50 pm Content-Length: 1534 Original-Sender: owner-gnu-win32 AT cygnus DOT com > find uses the lstat system call, and the cygwin implementation > opens the file and actually reads it in order to see whether it is a > symlink (now you know why find takes so long). symlink_check dies > opening a file opened for writing (a piece of Miscrosoft brilliance > that helps unix weenies win the advocacy wars). [snip] > Or, somehow tell the OS to allow files open for writing to be open > for reading. HINT: ---- HANDLE CreateFile( LPCTSTR lpFileName, // pointer to name of the file DWORD dwDesiredAccess, // access (read-write) mode DWORD dwShareMode, // share mode <<<<<<<<<<<<<