[PATCH v2] fixdep: add fstat error handling
d6 [1] https://github.com/torvalds/linux/commit/46fe94ad18aa7ce6b3dad8c035fb538942020f2b Reported-by: Ben Kohler Signed-off-by: Sam James --- scripts/basic/fixdep.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
Re: [PATCH v2] fixdep: add fstat error handling
David Leonard writes: > On Tue, 23 Apr 2024, Sam James wrote: > >> } >> -fstat(fd, &st); >> +if (fstat(fd, &st) < 0) { >> +fprintf(stderr, "fixdep: fstat"); >> +perror(filename); >&