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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Nov 2010 09:25:11 -0700 (PDT)

: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>



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