Include "openat.h" before other include files.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Dec 2004 06:43:59 +0000 (06:43 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Dec 2004 06:43:59 +0000 (06:43 +0000)
commitd2117d918c29227722f3345cbc66d8c9aca71dac
treee6bf163def330856de73f4d094267e4f2cb9a14f
parentf2173447ba3972a35e0241e4e496520e1c4a7c60
Include "openat.h" before other include files.
Include "exitfail.h".
(openat): Remove #undef; no longer needed now that we include openat.h first.
(rpl_openat): Add comment about mode_t promotion.  Simplify
code a bit by moving initializations around.  Use exit_failure
rather than EXIT_FAILURE.
lib/openat.c