]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(EXPECTED_ERRNO): New macro.
authorJim Meyering <jim@meyering.net>
Tue, 22 Nov 2005 14:52:48 +0000 (14:52 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 22 Nov 2005 14:52:48 +0000 (14:52 +0000)
commit2fa54245e1a1200f7e25016ba1dcf8095f45b6ee
tree62f4ad5aed8b91ebee0c14bdd6b3696ea1b7c6e9
parent026769d1ce95ba552ac3cba88b2864d0780c5aae
(EXPECTED_ERRNO): New macro.
(openat_permissive): New function -- used in remove.c rewrite.
(all functions): Set errno just before returning, only if there
was an actual failure.
Use EXPECTED_ERRNO rather than comparing against only ENOTDIR.
lib/openat.c