Skip to content

util/xmlconfig: Allow DT_UNKNOWN files

Ryan Houdek requested to merge sonicadvance1/mesa:stat_on_unknown_config into main

Some filesystems don't fill in d_type in dirent. Resulting in DT_UNKNOWN. Pass this entry through to the next step and use stat on the full filepath to determine if it is a file.

sshfs is known to not fill d_type. This resolves an issue where driconf living on an sshfs path wasn't working.

Merge request reports