[Mono-dev] Path for filewatcher.c

Thong Nguyen tum at veridicus.com
Mon Jul 9 02:47:55 EDT 2007

The function ves_icall_System_IO_FSW_SupportsFSW inside
mono/metadata/filewatcher.c appears to be wrong.

The function incorrectly calls mono_dl_build_path with a full library name
as an argument and thus gets back an incorrectly library name
(libfam.so.soinstead of
libfam.so) so neither gamin nor fam gets used and mono falls back to the
polling watcher.

It seems odd that noone has noticed this but the patch (attached) fixes it
for me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070709/de3cc517/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filewatcher.diff
Type: application/octet-stream
Size: 782 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070709/de3cc517/attachment.obj 

More information about the Mono-devel-list mailing list