New submission from Alex Hornung <[email protected]>:

Our scandir(3) takes a functor int (*select)(struct dirent *) while Linux, 
NetBSD 
and FreeBSD take int (*select)(const struct dirent *).

This would incindentally also fix compilation of devel/libcompizconfig.

Anyone opposed to changing it to const struct dirent * ?

Regards,
Alex

----------
messages: 9221
nosy: alexh
priority: feature
status: unread
title: scandir select/filter not taking const struct dirent *

_____________________________________________________
DragonFly issue tracker <[email protected]>
<http://bugs.dragonflybsd.org/issue1896>
_____________________________________________________

Reply via email to