- Made receive_file_entry() return the file_struct pointer instead
authorWayne Davison <wayned@samba.org>
Sun, 13 Feb 2005 21:15:47 +0000 (21:15 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 13 Feb 2005 21:15:47 +0000 (21:15 +0000)
commitf5db09933011a8b4014336a09ece12690d8ba280
tree7b5aea2b12d1aa656dbdb57c9b833fef58e321ec
parent122d1771db5a4c771de2fd258e0829909f77e5cc
- Made receive_file_entry() return the file_struct pointer instead
  of storing it into the files[] array.
- Made flist_find() return "no match" if the found item differs in
  its directory-ness from the search item.
- Changed f_name_cmp() to sort sub-directories after non-directories
  for each directory's contents.  This makes things like the upcoming
  --fuzzy patch easier to get right.
- One complicating factor is that clean_flist() needed some extra
  code to ensure that a directory doesn't duplicate a non-directory
  of the same name.
- Make sure that the "strip_root" code in clean_flist() (for relative
  paths) strips off all leading slashes.
flist.c