]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Parameterize use of EDQUOT for SCO.
authorTed Lemon <source@isc.org>
Mon, 9 Apr 2001 01:15:19 +0000 (01:15 +0000)
committerTed Lemon <source@isc.org>
Mon, 9 Apr 2001 01:15:19 +0000 (01:15 +0000)
minires/toisc.c
omapip/buffer.c

index 4395e39232768703dd3b8b75c89e6a53d06ae5c6..1823c4a771dcd6783e3c0d0af1c847b90b5ac19e 100644 (file)
@@ -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:
index 8888cbd0ec1547db3c81f8c4bd717326fd36a8dc..867f88eb3d639b679e7d9a341727108dcfce7f08 100644 (file)
@@ -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;