svn commit: samba r21339 - in branches: SAMBA_3_0/source/modules SAMBA_3_0_25/source/modules

jmcd at samba.org jmcd at samba.org
Wed Feb 14 14:26:02 GMT 2007


Author: jmcd
Date: 2007-02-14 14:25:56 +0000 (Wed, 14 Feb 2007)
New Revision: 21339

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

Log:
Fix the non-linux build.  This is more evidence that this needs to be
moved up one layer.

Modified:
   branches/SAMBA_3_0/source/modules/vfs_default.c
   branches/SAMBA_3_0_25/source/modules/vfs_default.c


Changeset:
Modified: branches/SAMBA_3_0/source/modules/vfs_default.c
===================================================================
--- branches/SAMBA_3_0/source/modules/vfs_default.c	2007-02-14 14:23:59 UTC (rev 21338)
+++ branches/SAMBA_3_0/source/modules/vfs_default.c	2007-02-14 14:25:56 UTC (rev 21339)
@@ -790,12 +790,14 @@
 
 	START_PROFILE(syscall_linux_setlease);
 
+#ifdef LINUX
 	/* first set the signal handler */
 	if(linux_set_lease_sighandler(fd) == -1)
 		return -1;
 
 	result = linux_setlease(fd, leasetype);
 	
+#endif
 	END_PROFILE(syscall_linux_setlease);
 	return result;
 }

Modified: branches/SAMBA_3_0_25/source/modules/vfs_default.c
===================================================================
--- branches/SAMBA_3_0_25/source/modules/vfs_default.c	2007-02-14 14:23:59 UTC (rev 21338)
+++ branches/SAMBA_3_0_25/source/modules/vfs_default.c	2007-02-14 14:25:56 UTC (rev 21339)
@@ -790,12 +790,14 @@
 
 	START_PROFILE(syscall_linux_setlease);
 
+#ifdef LINUX
 	/* first set the signal handler */
 	if(linux_set_lease_sighandler(fd) == -1)
 		return -1;
 
 	result = linux_setlease(fd, leasetype);
 	
+#endif
 	END_PROFILE(syscall_linux_setlease);
 	return result;
 }



More information about the samba-cvs mailing list