From 1bd180429998acf891b6cd37c972d5f7e3fe94c8 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Mon, 9 Apr 2001 01:15:19 +0000 Subject: [PATCH] Parameterize use of EDQUOT for SCO. --- minires/toisc.c | 2 ++ omapip/buffer.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/minires/toisc.c b/minires/toisc.c index 4395e3923..1823c4a77 100644 --- a/minires/toisc.c +++ b/minires/toisc.c @@ -234,8 +234,10 @@ isc_result_t uerr2isc (int err) case EHOSTUNREACH: return ISC_R_HOSTUNREACH; +#ifdef EDQUOT case EDQUOT: return ISC_R_QUOTA; +#endif #ifdef EBADRPC case EBADRPC: diff --git a/omapip/buffer.c b/omapip/buffer.c index 8888cbd0e..867f88eb3 100644 --- a/omapip/buffer.c +++ b/omapip/buffer.c @@ -483,7 +483,11 @@ isc_result_t omapi_connection_writer (omapi_object_t *h) return ISC_R_SUCCESS; else if (errno == EPIPE) return ISC_R_NOCONN; +#ifdef EDQUOT else if (errno == EFBIG || errno == EDQUOT) +#else + else if (errno == EFBIG) +#endif return ISC_R_NORESOURCES; else if (errno == ENOSPC) return ISC_R_NOSPACE; -- 2.47.3