diff options
| author | Romain GARBAGE <romain.garbage@inria.fr> | 2025-11-12 15:36:52 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-11-24 23:21:55 +0100 |
| commit | def983628e14436998edc0bf7499a27013b5fe4b (patch) | |
| tree | 7e0bb3df62648c57b4695f5764d588e8a07f6506 /gnu/system | |
| parent | 13e82663979791bda8955c11e6e1daaa67c8be87 (diff) | |
pack: Address DT_UNKNOWN case for exotic filesystems.
This is a followup of 4ce3a53ae5ee832aa92e0345f15780bc7da060d7.
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>
Diffstat (limited to 'gnu/system')
0 files changed, 0 insertions, 0 deletions
