version 1.271, 2022/04/14 16:43:44 |
version 1.272, 2023/04/28 19:11:03 |
Line 804 filescan(const char *infile) |
|
Line 804 filescan(const char *infile) |
|
* We have to do lstat(2) before realpath(3) loses |
* We have to do lstat(2) before realpath(3) loses |
* the information whether this is a symbolic link. |
* the information whether this is a symbolic link. |
* We need to know that because for symbolic links, |
* We need to know that because for symbolic links, |
* we want to use the orginal file name, while for |
* we want to use the original file name, while for |
* regular files, we want to use the real path. |
* regular files, we want to use the real path. |
*/ |
*/ |
if (lstat(infile, &st) == -1) { |
if (lstat(infile, &st) == -1) { |