msdfs compile fails
Hiroshi MIURA
miura at samba.gr.jp
Sun Oct 8 06:15:19 GMT 2000
Hi,
I compile SMABA_2_2 branch with --with-msdfs
but it fails on msdfs/msdfs.c.
error is as follows:
msdfs/msdfs.c:219: warning: passing arg 1 of pointer to function from incompatible pointer type
msdfs/msdfs.c:219: warning: passing arg 2 of pointer to function from incompatible pointer type
msdfs/msdfs.c:219: too few arguments to function
A patch will be like this??
--- msdfs.c.orig Sun Oct 8 15:08:18 2000
+++ msdfs.c Sun Oct 8 15:05:55 2000
@@ -216,7 +216,7 @@
strlower(path);
- if(conn->vfs_ops.lstat(dos_to_unix(path,False),&st) != 0)
+ if(conn->vfs_ops.lstat(conn, dos_to_unix(path,False),&st) != 0)
{
DEBUG(5,("is_msdfs_link: %s does not exist.\n",path));
return False;
Cheers,
--
Hiroshi Miura --- http://www.momokuri.org/ http://www.Hokkaid.org/
http://lkh.linux.or.jp/ http://www.samba.gr.jp/ http://alsa.linux.or.jp/
http://www.blue.gr.jp/ TLUG, TLUC-Kanto, YLUG-Diet, CLUG, Palm<->Linux
Powered by Tankiyo, Danke, SuiSui, Kisuke, SterBucks, DE STEIL
More information about the samba-technical
mailing list