shadow_copy2: The system getrealfilename() can't deal with a 0-length fname
authorVolker Lendecke <vl@samba.org>
Tue, 30 Jun 2009 12:26:32 +0000 (14:26 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 29 Jul 2009 10:28:50 +0000 (06:28 -0400)
commit94a139afe5d607b09753eec36127e5b682978c5a
tree9fc74a811a1e0b81fc31d0b1f6f7da598b3f34b9
parentd8543da9dad3286cd330b98374405edb9f976e77
shadow_copy2: The system getrealfilename() can't deal with a 0-length fname

This fixes viewing the content of snapshots in the share root directory. We
have to treat the filename that *just* consists of "@GMT-YYYY.MM.DD-HH.MM.SS"
like the share root, which is the current working directory.
source3/modules/vfs_shadow_copy2.c