GNU bug report logs -
#21804
25.0.50; file-notify-tests failure on Cygwin
Previous Next
Reported by: Ken Brown <kbrown <at> cornell.edu>
Date: Sun, 1 Nov 2015 15:52:02 UTC
Severity: normal
Found in version 25.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Ken Brown <kbrown <at> cornell.edu> writes:
> Hi Michael,
Hi Ken,
> It turns out that this isn't special to my system. The emacs package
> on Cygwin requires libglib2.0_0, which requires gamin. So the monitor
> on Cygwin will always be of type GFamFileMonitor.
Indeed, it happens also for me.
> Let me play with this a little more first.
I've tested in parallel today. The applied patch let all non-remote test
cases pass successfully for cygwin. There were some special timing
issues (for example, when a watch was removed), which should be solved
now.
There are other problems in the remote case. Mainly, I don't know a way
to determine, which backend is linked to
gvfs-directory-monitor. According to my tests, it behaves different when
running on a (remote) GNU/Linux machine, or a (remote) cygwin machine.
I've committed a patch to Tramp, which let us detect this program as
"gvfs-monitor-dir.exe" for cygwin. This is hackish, of course; but I
don't know it better. The appended patch let pass all remote test cases
for cygwin too, except file-notify-test06-many-events-remote and
file-notify-test08-watched-file-in-watched-dir-remote. For these two
test cases, there's always a loss of some events. I see no chance to fix
this also.
If you agree, I would commit the patch to the master branch, and I would
close bug#21804 then.
> Best regards,
>
> Ken
Best regards, Michael.
[Message part 2 (text/plain, attachment)]
This bug report was last modified 8 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.