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

Matthew Dillon dillon at apollo.backplane.com
Thu Nov 4 09:25:45 PDT 2010


: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 at backplane.com>





More information about the Bugs mailing list