unix:unix-stat returns incorrect values
Describe the bug
unix:unix-stat
returns incorrect values.
To Reproduce
Steps to reproduce the behavior:
(unix:unix-stat "src/compiler/generic")
returns
T
64770
0
16893
2
502
502
0
4096
1659472288
1639503563
1639503563
4096
8
Expected behavior
Compare the returned values above on Linux (Fedora) with
stat --terse src/compiler/generic
src/compiler/generic 4096 8 41fd 502 502 fd02 11666022 2 0 0 1659472288 1639503563 1639503563 1600299149 4096 unconfined_u:object_r:user_home_t:s0
unix-stat
says the ino is 0 (3rd return value). But it should be
11666022. The other parts appear to be correct.
Desktop (please complete the following information):
- OS: Linux (Fedora 35)
- Version snapshot-2021-07
Additional context
See also #124 (closed). This might be why directory
is not descending into
subdirectories.