The code in send_file_list() needed a little more improvement to
authorWayne Davison <wayned@samba.org>
Thu, 19 Jan 2006 21:16:44 +0000 (21:16 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 19 Jan 2006 21:16:44 +0000 (21:16 +0000)
commitede1f0ebc97a7ed154e10c721f69ef3e9309ff72
tree51d16c379730eb71279a1328eab079081ec24c29
parentb435d7174cb971e85e4199999c748d51ba5d0a18
The code in send_file_list() needed a little more improvement to
handle --relative really well:
- We must set "is_dot_dir" when we strip off a trailing "/" or "/.".
- If a trailing "/" or "/." caused us to treat a symlink as a dir,
  we now pass our stat() info down to make_file() so that it will
  always treat the cleaned-up name as a dir too.
- We must not strip a leading "/".
- Improved the check for ".." elements in the implied dirs.
flist.c