From 86fe737e5c77e063b373d5d01c693c1fd1062a27 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 29 Nov 2005 19:09:16 +0000 Subject: * lib/rtapelib.c (encode_oflag): Simplify code, since O_NONBLOCK is always defined now. * paxlib/rtape.c (encode_oflag): Likewise. * lib/system.h (O_DIRCTORY, O_NOATIME, O_NONBLOCK): Define to 0 if not already defined. * paxlib/error.c (rmdir_error): New function. * paxlib/error.h (rmdir_error): New decl. * rmt/rmt.c (decode_oflag): Use '#if O_NONBLOCK", not ifdef. --- paxlib/error.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'paxlib/error.c') diff --git a/paxlib/error.c b/paxlib/error.c index b2bf3d6..1fe2909 100644 --- a/paxlib/error.c +++ b/paxlib/error.c @@ -227,6 +227,12 @@ readlink_warn (char const *name) call_arg_warn ("readlink", name); } +void +rmdir_error (char const *name) +{ + call_arg_error ("rmdir", name); +} + void savedir_error (char const *name) { -- cgit v1.2.1