瀏覽代碼
Merge pull request #129 from fengyichui/master
Fix BLK_SHIFT may be wrong in some platforms #128
master
Arun Prakash Jana
GitHub
6 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 4AEE18F83AFDEB23
共有
1 個文件被更改,包括
2 次插入 和
1 次删除
-
src/nnn.c
|
|
@@ -2905,7 +2905,7 @@ nochange: |
|
|
|
cfg.blkorder ^= 1; |
|
|
|
nftw_fn = &sum_bsizes; |
|
|
|
cfg.apparentsz = 0; |
|
|
|
BLK_SHIFT = 9; |
|
|
|
BLK_SHIFT = ffs(S_BLKSIZE) - 1; |
|
|
|
} |
|
|
|
|
|
|
|
if (cfg.blkorder) { |
|
|
@@ -3410,6 +3410,7 @@ int main(int argc, char *argv[]) |
|
|
|
case 'S': |
|
|
|
cfg.blkorder = 1; |
|
|
|
nftw_fn = sum_bsizes; |
|
|
|
BLK_SHIFT = ffs(S_BLKSIZE) - 1; |
|
|
|
break; |
|
|
|
case 'l': |
|
|
|
cfg.showdetail = 0; |
|
|
|