- Made flist_find() and receive_file_entry() static functions.
authorWayne Davison <wayned@samba.org>
Tue, 1 Feb 2005 09:21:32 +0000 (09:21 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 1 Feb 2005 09:21:32 +0000 (09:21 +0000)
commitf3c3ed44e6c69570be81d5a968265e5f1c27ffc3
treeab54b2a1fff26d68fb6d95282569126c5807dcff
parentf8057304930f9c6dcb7fca57f3c25cc2c09b3c1d
- Made flist_find() and receive_file_entry() static functions.
- Changed receive_file_entry() args.
- We now store the directory depth into file->dir.depth when
  receiving the file list.  This will be used to aid in the
  traversal of the file list on the receiving side for things
  such as the future --fuzzy option and better --delete-during
  processing.
- Fixed a bug when -R was used with "." as a source directory:
  subdirectories were not being promoted to FLAG_DEL_START when
  --delete-during was specified.
- Refer to the old basedir variable as dir.root.
- Got rid of the first-push code -- I decided that it wasn't
  the right thing to do for per-dir merge-file processing.
- Improved the flist_find() function to make it a little more
  optimal.  The new code no longer needs the inline function
  flist_up().
- In clean_flist() we now set two new values in the flist struct:
  "low" and "high".  These are used by the new flist_find().
- Tweaked the output_flist() function to output each entry's
  flags and to output the directory-depth on the receiving side
  in place of the directory-root (which is still output on the
  sending side).
flist.c