diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-21 21:11:18 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-21 21:11:18 +0200 |
commit | b826045d0427db2c18eedda7e02f21acfc2ce62e (patch) | |
tree | 94af915f779ecb5c660159349f6bb4b2d423043b /lib/fstree/src/get_by_path.c | |
parent | 6c7d1c6e6cb3187218fa180fc87919255928b999 (diff) |
libutil: unix: simplify/unify directory iterator error handling
Instead of printing out error messages, return an errro ID and match
the behavior with the Windows implementation. Also, don't check first
if the struct stat says it is a link, the readlinkat() system call
will fail if it isn't. Avoid confusing the deputy.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree/src/get_by_path.c')
0 files changed, 0 insertions, 0 deletions