dir_check_ftype fixes??

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Dec 2 14:59:00 GMT 2002


On Mon, Dec 02, 2002 at 01:45:12PM +0100, Simo Sorce wrote:
> I also have a bug report about problems with xcopy and 2.2.7
> I think we should really check if it is something we break.

All those who have that problem, could you please check the
following patch?

diff -u -r1.240.2.121 reply.c
--- source/smbd/reply.c 20 Nov 2002 00:35:20 -0000      1.240.2.121
+++ source/smbd/reply.c 2 Dec 2002 14:56:35 -0000
@@ -1449,6 +1449,9 @@
         return ERROR_DOS(ERRDOS,ERRnofids);
       }
       dptr_set_wcard(dptr_num, strdup(mask));
+      dptr_set_attr(dptr_num, dirtype);
+    } else {
+      dirtype = dptr_attr(dptr_num);
     }

     DEBUG(4,("dptr_num is %d\n",dptr_num));

Thanks a lot!

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20021202/05e25f89/attachment.bin


More information about the samba-technical mailing list