Closed revintec closed 2 years ago
Hi, can you please:
The st_size field gives the size of the file (if it is a regular file or a symbolic link) in bytes. The size of a symbolic link is the length of the pathname it contains, without a terminating null byte.
Thank you very much!
the old implementation returns wrong file size for symbolic links, e.g. file
symlink
afterln -s . symlink
should be 1