clitar.c: fix include mode bug
authorAurélien Aptel <aurelien.aptel@gmail.com>
Tue, 16 Jul 2013 13:49:27 +0000 (15:49 +0200)
committerAndreas Schneider <asn@samba.org>
Wed, 19 Feb 2014 17:22:27 +0000 (18:22 +0100)
commitb8258540055e01fcb2d26776be4b5914b00b5a8d
treecdea2a83841896355454679d35731dc261c72a17
parentcbad767ded9fa50bb3045809e6af3287a59c69b4
clitar.c: fix include mode bug

- if we include path/a/, path/ was skipped because
  it's not in path/a/.
- solution: add a flag to tar_path_in_list() to also
  check the opposite ie. if the list is in the path

Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/client/clitar.c