svn commit: samba r10103 - in branches/SAMBA_4_0/source/libcli/util: .

tpot at samba.org tpot at samba.org
Fri Sep 9 04:21:20 GMT 2005


Author: tpot
Date: 2005-09-09 04:21:19 +0000 (Fri, 09 Sep 2005)
New Revision: 10103

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10103

Log:
Put an #ifdef guard around ENOTSUP to fix systems  that don't have it
(OpenBSD 3.7).

Modified:
   branches/SAMBA_4_0/source/libcli/util/errormap.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/util/errormap.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/util/errormap.c	2005-09-09 04:16:53 UTC (rev 10102)
+++ branches/SAMBA_4_0/source/libcli/util/errormap.c	2005-09-09 04:21:19 UTC (rev 10103)
@@ -1278,7 +1278,9 @@
 	{ EPIPE,        NT_STATUS_CONNECTION_DISCONNECTED },
 	{ ECONNREFUSED, NT_STATUS_CONNECTION_REFUSED },
 	{ EBUSY,        NT_STATUS_SHARING_VIOLATION },
+#ifdef ENOTSUP
 	{ ENOTSUP,      NT_STATUS_NOT_SUPPORTED},
+#endif
 #ifdef EHOSTUNREACH
 	{ EHOSTUNREACH, NT_STATUS_HOST_UNREACHABLE },
 #endif



More information about the samba-cvs mailing list