* Stat either a symlink or its referent, depending on the settings of
* copy_links, copy_unsafe_links, etc.
*
* Stat either a symlink or its referent, depending on the settings of
* copy_links, copy_unsafe_links, etc.
*
- if ((l =
- readlink((char *) Path, Linkbuf,
- MAXPATHLEN - 1)) == -1) {
+ l = readlink((char *) path, linkbuf, MAXPATHLEN - 1);
+ if (l == -1)
- unsafe_symlink(Linkbuf, topsrcname)) {
- return do_stat(Path, Buffer);
+ unsafe_symlink(linkbuf, topsrcname)) {
+ return do_stat(path, buffer);