]> git.ipfire.org Git - thirdparty/coreutils.git/commit
remove.c: Accommodate systems with negative errno values.
authorIngo Weinhold <ingo_weinhold@gmx.de>
Fri, 21 Mar 2008 13:10:27 +0000 (14:10 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 21 Mar 2008 15:01:29 +0000 (16:01 +0100)
commite73dfc3899c2a622c91c0948610a1c5c1e1972d1
treefdfe2938278649d2bd6f6afa1cca1c231d9f5c19
parent18ce670a33ae31348d26da0c3737853af085e3b5
remove.c: Accommodate systems with negative errno values.

* src/remove.c (cache_fstatat): Store errno value directly in
the st_ino field, rather than trying to shoehorn it into st_size.
This is required at least on BeOS and Haiku.
src/remove.c