svn commit: samba r21840 - in branches/SAMBA_3_0/source/client: .

sfrench at samba.org sfrench at samba.org
Wed Mar 14 22:15:22 GMT 2007


Author: sfrench
Date: 2007-03-14 22:15:21 +0000 (Wed, 14 Mar 2007)
New Revision: 21840

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

Log:
mount.cifs compile on old libc missing bind mount #define

Thanks to Thomas Jarosch for pointing this out.


Modified:
   branches/SAMBA_3_0/source/client/mount.cifs.c


Changeset:
Modified: branches/SAMBA_3_0/source/client/mount.cifs.c
===================================================================
--- branches/SAMBA_3_0/source/client/mount.cifs.c	2007-03-14 19:10:21 UTC (rev 21839)
+++ branches/SAMBA_3_0/source/client/mount.cifs.c	2007-03-14 22:15:21 UTC (rev 21840)
@@ -59,6 +59,10 @@
 #define MS_MOVE 8192 
 #endif 
 
+#ifndef MS_BIND
+#define MS_BIND 4096
+#endif
+
 #define CONST_DISCARD(type, ptr)      ((type) ((void *) (ptr)))
 
 const char *thisprogram;



More information about the samba-cvs mailing list