1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 00:10:48 -08:00

(file_name_completion_stat): If have symlinks, use lstat.

This commit is contained in:
Richard M. Stallman 1994-01-04 06:37:51 +00:00
parent 3785d1c8a8
commit a889bd0eff

View file

@ -467,7 +467,11 @@ file_name_completion_stat (dirname, dp, st_addr)
bcopy (dp->d_name, fullname + pos, len);
fullname[pos + len] = 0;
#ifdef S_IFLNK
return lstat (fullname, st_addr);
#else
return stat (fullname, st_addr);
#endif
}
#ifdef VMS