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

Attachment: msg04732/pgp00000.pgp
Description: PGP signature

Reply via email to