svn commit: samba r21734 - in branches: SAMBA_3_0/source/client SAMBA_3_0_25/source/client

jra at samba.org jra at samba.org
Wed Mar 7 02:27:55 GMT 2007


Author: jra
Date: 2007-03-07 02:27:54 +0000 (Wed, 07 Mar 2007)
New Revision: 21734

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

Log:
Fix bug #4369. Patch from David Leonard <dleonard at vintela.com>.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/client/client.c
   branches/SAMBA_3_0_25/source/client/client.c


Changeset:
Modified: branches/SAMBA_3_0/source/client/client.c
===================================================================
--- branches/SAMBA_3_0/source/client/client.c	2007-03-07 02:11:40 UTC (rev 21733)
+++ branches/SAMBA_3_0/source/client/client.c	2007-03-07 02:27:54 UTC (rev 21734)
@@ -714,6 +714,11 @@
 		pstrcat(mask,"*");
 	}
 
+	if (showacls) {
+		/* cwd is only used if showacls is on */
+		pstrcpy(cwd, cur_dir);
+	}
+
 	do_list(mask, attribute, display_finfo, recurse, True);
 
 	rc = do_dskattr();

Modified: branches/SAMBA_3_0_25/source/client/client.c
===================================================================
--- branches/SAMBA_3_0_25/source/client/client.c	2007-03-07 02:11:40 UTC (rev 21733)
+++ branches/SAMBA_3_0_25/source/client/client.c	2007-03-07 02:27:54 UTC (rev 21734)
@@ -714,6 +714,11 @@
 		pstrcat(mask,"*");
 	}
 
+	if (showacls) {
+		/* cwd is only used if showacls is on */
+		pstrcpy(cwd, cur_dir);
+	}
+
 	do_list(mask, attribute, display_finfo, recurse, True);
 
 	rc = do_dskattr();



More information about the samba-cvs mailing list