DragonFly BSD
DragonFly bugs List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1896] scandir select/filter not taking const struct dirent *


From: "Alex Hornung \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Nov 2010 10:39:04 +0000

New submission from Alex Hornung <ahornung@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1896>
_____________________________________________________




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]