[libudev] udev_monitor_filter_remove not clearing tag filters?

Sebastian Wiesner <[email protected]>
Newsgroups gmane.linux.hotplug.devel
Message-ID <CALf2awQ8kE6M-UCKLst-9BcZp94Lt=sTtXh-OYJeLnCF932qrA@mail.gmail.com>
Hi,

I'm maintaining pyudev [1], a pure Python binding for libudev.  When
wrapping "udev_monitor_filter_remove()", I stumbled upon a discrepancy
between the documentation of this function and its sources.  The
documentation [2] states, that
it removes all filters from the monitor.  However, in the source code,
only the list of subsystem filters (as installed by
udev_monitor_filter_add_match_subsystem_devtype()") is cleared.  The
list of tag filters is not touched.

So what's the correct behaviour?  What should I write in the
documentation of the python bindings?

Greetings,
Sebastian Wiesner

[1] http://pyudev.readthedocs.org
[2] http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/libudev-udev-monitor.html#udev-monitor-filter-remove
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.