Bug #1896
closedscandir select/filter not taking const struct dirent *
0%
Description
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
Files
Updated by dillon about 14 years ago
: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
Sounds good to me.
-Matt
Matthew Dillon
<dillon@backplane.com>
Updated by alexh about 14 years ago
Thanks Sascha!
On 4 Nov 2010 19:49, "Sascha Wildner (via DragonFly issue tracker)" <
bugs@crater.dragonflybsd.org> wrote:
Sascha Wildner <saw@online.de> added the comment:
grab
----------
assignedto: -> swildner
nosy: +swildner_____________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1896>
_____________________________________________
Updated by swildner about 14 years ago
I've committed a fix. Since it includes more changes than just what was
proposed originally, could you try again and check if it actually fixed the
devel/libcompizconfig issue?
Updated by alexh about 14 years ago
devel/libcompizconfig seems to compile perfectly now, thanks.
Closing, committed in edacbda68e2b4fcf6f29f472d4c2720d202639dc.