[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] src/remove.c: cache_fstatat() broken on systems with negative er
From: |
Ingo Weinhold |
Subject: |
[PATCH] src/remove.c: cache_fstatat() broken on systems with negative errnos |
Date: |
Fri, 21 Mar 2008 13:13:23 +0100 |
User-agent: |
Beam 1.1.1 |
Howdy,
on systems with negative errno values (BeOS, Haiku) the method used in the
cache_fstatat() function in src/remove.c is broken (st_size will become
positive on error). The attached patch changes the function to use the
st_ino field to store the errno value instead, which should work on all
platforms.
CU, Ingo
coreutils-remove-errno.patch
Description: Text document
- [PATCH] src/remove.c: cache_fstatat() broken on systems with negative errnos,
Ingo Weinhold <=