Project

General

Profile

Actions

Bug #1896

closed

scandir select/filter not taking const struct dirent *

Added by alexh about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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

unnamed (827 Bytes) unnamed alexh, 11/04/2010 07:55 PM
Actions

Also available in: Atom PDF