瀏覽代碼

Disable checksum calculation

Calculation can take very long. Most Unix-ish OSes have utilities to do this.
master
Arun Prakash Jana 7 年之前
父節點
當前提交
cb1a1112a8
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 2 個檔案被更改,包括 4 行新增1 行删除
  1. +1
    -1
      README.md
  2. +3
    -0
      nnn.c

+ 1
- 1
README.md 查看文件

@@ -59,7 +59,7 @@ I chose to fork because:
- current item in reverse video
- number of items in current directory
- full name of currently selected file
- Show details of the currently selected file (stat, file, md5, sha256)
- Show details of the currently selected file (stat, file)
- Directories first
- Sort numeric names in numeric order
- Case-insensitive alphabetic content listing instead of upper case first


+ 3
- 0
nnn.c 查看文件

@@ -796,6 +796,8 @@ show_stats(char* fpath, char* fname, struct stat *sb)
}
printw(" %s", begin);
}
#ifdef SUPPORT_CHKSUM
/* Calculating checksums can take VERY long */

/* Show md5 */
sprintf(buf, "openssl md5 \"%s\" 2>&1", fpath);
@@ -822,6 +824,7 @@ show_stats(char* fpath, char* fname, struct stat *sb)

printw(" sha256: %s", p);
}
#endif
}

/* Show exit keys */


Loading…
取消
儲存