smbclient: query disk usage relative to current directory
authorUri Simchoni <uri@samba.org>
Tue, 5 Jan 2016 22:08:25 +0000 (00:08 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Jan 2016 09:13:23 +0000 (10:13 +0100)
commit21d362e9eb77d12d5f2f602097c20e5c50eaca80
tree9dc75029271a9c66220bf3027d3c114e2264773e
parentae2a5752c5d9b3d8b2a3b0f85876907c0b081262
smbclient: query disk usage relative to current directory

When querying disk usage in the "dir" and "du" commands,
use the current directory. This behavior is compatible
with Windows command shell "dir" command.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11662

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 275da6c5c7e7c5dd0581e919912eb82102903a46)
source3/client/client.c
source3/libsmb/cli_smb2_fnum.c
source3/libsmb/cli_smb2_fnum.h
source3/libsmb/clifile.c
source3/libsmb/proto.h
source3/torture/nbio.c