[darcs-devel] Re: [darcs-users] strange bug with Windows share
mounted on Mac OS X
David Roundy
droundy at abridgegame.org
Wed Oct 20 04:55:33 PDT 2004
On Tue, Oct 19, 2004 at 08:40:00PM +0200, Juliusz Chroboczek wrote:
> > This change makes darcs check before mmapping whether it is possible to
> > delete an open file. It's an ugly hack, but seems necesary, since
> > there's no other way I'm aware of to find out whether it's safe to mmap
> > files. :(
>
> Suing Apple might be a more elegant solution.
:)
> Hmm... What about stat-ing "." and checking if the link count is 1?
>
> Could someone running Mac OS X run ``ls -ld .'' in a Windows share and
> tell us what's the link count (second column)?
Indeed the link count is 1 on the samba share.
--
David Roundy
http://www.abridgegame.org
More information about the darcs-devel
mailing list