An improved clean_fname() routine that is more efficient and will also
authorWayne Davison <wayned@samba.org>
Fri, 6 Aug 2004 21:24:14 +0000 (21:24 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 6 Aug 2004 21:24:14 +0000 (21:24 +0000)
commitebdd24d6d08bc4ffd632a64b3781f48cc8a46eb0
tree007f95a3cb91dc5588c53e483bf03697b69b4611
parent7cd72c79ec1c7f803ca6859f53cf8d9a78d6abf2
An improved clean_fname() routine that is more efficient and will also
collapse ".." dirs that aren't at the start of the path.  Care was taken
to ensure that the cleaning of a name that goes over the socket is done
in the same way as the old code (because both sides call clean_fname()
on those file-list names).  This ensures compatibility with older rsync
versions.
util.c