mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
This is a followup of 4ce3a53ae5.
In some filesystems, the d_type field in the dirent struct returned by
readdir(3) is not properly filled. According to readdir(3), "All applications
must properly handle a return of DT_UNKNOWN". This patch addresses the issue.
* gnu/packages/aux-files/run-in-namespace.c: Handle DT_UNKNOWN case.
Change-Id: Iae3554a01f19a3f30f323916a3426a4068b5df59
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>