소스 검색
Fix symlink to dir indicator in detail mode
master
Arun Prakash Jana
5 년 전
No known key found for this signature in database
GPG 키 ID: A75979F35C080412
1개의 변경된 파일과
2개의 추가작업 그리고
1개의 파일을 삭제
-
src/nnn.c
|
|
@@ -3305,7 +3305,8 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel) |
|
|
|
break; |
|
|
|
case S_IFLNK: |
|
|
|
ln = TRUE; |
|
|
|
ind1 = ind2 = '@'; // fallthrough |
|
|
|
ind1 = '@'; |
|
|
|
ind2 = (ent->flags & DIR_OR_LINK_TO_DIR) ? '/' : '@'; // fallthrough |
|
|
|
case S_IFSOCK: |
|
|
|
if (!ind1) |
|
|
|
ind1 = ind2 = '='; // fallthrough |
|
|
|