diff options
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -156,22 +156,23 @@ struct fileinfo /* The file name. */ char *name; - struct stat stat; - bool stat_ok; - /* For symbolic link, name of the file linked to, otherwise zero. */ char *linkname; + struct stat stat; + + enum filetype filetype; + /* For symbolic link and long listing, st_mode of file linked to, otherwise zero. */ mode_t linkmode; + bool stat_ok; + /* For symbolic link and color printing, true if linked-to file exists, otherwise false. */ bool linkok; - enum filetype filetype; - #if USE_ACL /* For long listings, true if the file has an access control list. */ bool have_acl; |