[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/47909: ufs symbol pollution
>Synopsis: ufs symbol pollution
>Arrival-Date: Sat Jun 08 21:25:00 +0000 2013
>Originator: David A. Holland
>Release: current of 20130607
The ufs headers expose a lot of symbols that do not begin with ufs_ or
UFS_; this is unfriendly to other file systems, because there are a
number of tools that support multiple file system types and want to be
able to include headers from all of them in the same translation unit.
I've already fixed a number of these; here are some more that have
come to light:
IFMT, IFIFO, IFCHR, etc.
DT_UNKNOWN, DT_FIFO, DT_CHR, etc.
The DT_ ones are particularly problematic as they duplicate the
FS-independent symbols from <dirent.h>.
Main Index |
Thread Index |