[issue1896] scandir select/filter not taking const struct dirent *
Alex Hornung (via DragonFly issue tracker)
sinknull at leaf.dragonflybsd.org
Wed Nov 3 03:40:36 PDT 2010
New submission from Alex Hornung <ahornung at gmail.com>:
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 <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1896>
_____________________________________________________
More information about the Bugs
mailing list