search for: 50af4349

Displaying 1 result from an estimated 1 matches for "50af4349".

Did you mean: 504349
2023 Jan 13
0
[klibc:master] ls: Handle relative directory names correctly
...at() and readlinkat() functions to get information about files in each directory. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/utils/ls.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/usr/utils/ls.c b/usr/utils/ls.c index 9677bc0f..50af4349 100644 --- a/usr/utils/ls.c +++ b/usr/utils/ls.c @@ -50,7 +50,7 @@ static void do_preformat(const struct stat *st) return; } -static void do_stat(const struct stat *st, const char *path) +static void do_stat(const struct stat *st, int dir_fd, const char *path) { char *fmt, *link_name; int...