smbclient: query disk usage relative to current directory
authorUri Simchoni <uri@samba.org>
Tue, 5 Jan 2016 22:08:25 +0000 (00:08 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 Jan 2016 23:54:18 +0000 (00:54 +0100)
commit275da6c5c7e7c5dd0581e919912eb82102903a46
tree2b69d9d4bb0e102c3b92ba810bd94bed22d6db82
parentd865ed20062cc5fc62313c25e7a6cb90763d0158
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>
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