ソースを参照

Show target file size in list mode

master
Arun Prakash Jana 5年前
コミット
72668069ed
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A75979F35C080412
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c ファイルの表示

@@ -4369,7 +4369,7 @@ static int dentfill(char *path, struct entry **dents)
if (!flags && dp->d_type == DT_LNK) {
/* Do not add sizes for links */
dentp->mode = (sb.st_mode & ~S_IFMT) | S_IFLNK;
dentp->size = 0;
dentp->size = g_listpath ? sb.st_size : 0;
} else {
dentp->mode = sb.st_mode;
dentp->size = sb.st_size;


読み込み中…
キャンセル
保存