diff options
author | Steven Schubiger <stsc@refcnt.org> | 2015-01-26 20:52:54 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2015-01-26 20:52:54 +0100 |
commit | c9b07648c01ee3f5c06c95bb80bcdde95ec22731 (patch) | |
tree | ddf25a81a62cdf6547f821c627d8cbbdd71ab3f4 /colorize.c | |
parent | cc3c8db022b248d3b862757379b4df529d07b6c1 (diff) | |
download | colorize-c9b07648c01ee3f5c06c95bb80bcdde95ec22731.tar.gz colorize-c9b07648c01ee3f5c06c95bb80bcdde95ec22731.tar.bz2 |
Follow symbolic link to obtain file status
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -671,7 +671,7 @@ process_file_arg (const char *file_string, const char **file, FILE **stream) int ret; errno = 0; - ret = lstat (file, &sb); + ret = stat (file, &sb); if (ret == -1) vfprintf_fail (formats[FMT_FILE], file, strerror (errno)); |