smbd/trans2.c #ifdef missing

Eric Mertens emmf26 at umr.edu
Fri Apr 30 06:50:54 GMT 2004


Please see the attached file, it is done to match the style in the other source files
and is required to compile samba-3.0.3 on OpenBSD

Thankyou,
Eric Mertens
emmf26 at umr.edu
-------------- next part --------------
--- smbd/trans2.c.orig	Fri Apr 30 01:45:39 2004
+++ smbd/trans2.c	Fri Apr 30 01:45:20 2004
@@ -395,9 +395,11 @@
 	}
 
 	if (ret == -1) {
+#ifdef ENOTSUP
 		if (errno == ENOTSUP) {
 			return NT_STATUS_EAS_NOT_SUPPORTED;
 		}
+#endif
 		return map_nt_error_from_unix(errno);
 	}
 


More information about the samba-technical mailing list