From: Ted Lemon Date: Mon, 9 Apr 2001 01:15:19 +0000 (+0000) Subject: Parameterize use of EDQUOT for SCO. X-Git-Tag: V3-RC1~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1bd180429998acf891b6cd37c972d5f7e3fe94c8;p=thirdparty%2Fdhcp.git Parameterize use of EDQUOT for SCO. --- 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;