From: Wayne Davison Date: Fri, 6 Aug 2004 21:24:14 +0000 (+0000) Subject: An improved clean_fname() routine that is more efficient and will also X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ebdd24d6d08bc4ffd632a64b3781f48cc8a46eb0?hp=ebdd24d6d08bc4ffd632a64b3781f48cc8a46eb0 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. ---