From 8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 22:22:16 +0100 Subject: Add bin/true and bin/false implementations - Added assembly implementations for `true` and `false` commands. - Updated Kbuild files to include new binaries. - Removed unused libraries and headers. - Cleaned up makefile and unused code. --- lib/libc/stat/fstatat.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/libc/stat/fstatat.c') diff --git a/lib/libc/stat/fstatat.c b/lib/libc/stat/fstatat.c index 06b00163..d7aecbc5 100644 --- a/lib/libc/stat/fstatat.c +++ b/lib/libc/stat/fstatat.c @@ -1,7 +1,8 @@ -#include -#include - #include +#define __BITS_STAT_H_ +#include +#undef __BITS_STAT_H_ +#include #define makedev(major, minor) \ ((((major) & 0xfffff000ULL) << 32) | \ @@ -37,8 +38,7 @@ int fstatat(int fd, const char *restrict path, struct stat *restrict buf, buf->st_blksize = stx.stx_blksize; buf->st_blocks = stx.stx_blocks; } else { - ret = -1; // Indicate failure if STATX_BASIC_STATS is - // not set + ret = -1; } } -- cgit v1.2.3