Better fix for case of excluded symlinks that point nowhere when using
authorDavid Dykstra <dwd@samba.org>
Mon, 26 Nov 2001 19:15:53 +0000 (19:15 +0000)
committerDavid Dykstra <dwd@samba.org>
Mon, 26 Nov 2001 19:15:53 +0000 (19:15 +0000)
--copy-links.  The readlink_stat() does need to be done in the normal case
before checking the exclude patterns because it needs to know whether or
not a file is a directory in order to properly handle a trailing slash
in an exclude pattern.  This fix makes make_file() go ahead and call
readlink_stat() but then if the latter returns an ENOENT and copy_links is
on then it will only print an error if the path is not excluded.


No differences found