Commit ff706c8c6ab7e38adccea02591d738f8c375470a
Fix reported free space on *nix
Make it consistent with what `df` reports.
Author: Dmitry Frank
Author date (UTC): 2018-02-05 09:59
Committer name: Dmitry Frank
Committer date (UTC): 2018-02-05 09:59
Parent(s): abe623bb1bd618eaf66ea7181476281a7942064b
Signing key:
Tree: b6b8c5b498e834956cefcf1948a7ab95c62326d0
File ChangeLog changed (mode: 100644) (index d1690aa6a..b0aedaf72) |
9 |
9 |
Fixed possible crash on `:highlight clear {pattern}` and highlights not |
Fixed possible crash on `:highlight clear {pattern}` and highlights not |
10 |
10 |
being updated. |
being updated. |
11 |
11 |
|
|
|
12 |
|
Fixed reported free space on *nix. (make it consistent with what 'df' |
|
13 |
|
reports). Patch by Dmitry Frank (a.k.a. dimonomid). |
|
14 |
|
|
12 |
15 |
0.9 to 0.9.1-beta |
0.9 to 0.9.1-beta |
13 |
16 |
|
|
14 |
17 |
Added "inode" sorting key, which sorts entries by inode number. Thanks to |
Added "inode" sorting key, which sorts entries by inode number. Thanks to |
File src/utils/utils_nix.c changed (mode: 100644) (index 8cee67c84..2aae1858a) |
... |
... |
get_free_space(const char at[]) |
1044 |
1044 |
return 0; |
return 0; |
1045 |
1045 |
} |
} |
1046 |
1046 |
|
|
1047 |
|
return (uint64_t)st.f_bsize*st.f_bfree; |
|
|
1047 |
|
return (uint64_t)st.f_bsize*st.f_bavail; |
1048 |
1048 |
} |
} |
1049 |
1049 |
|
|
1050 |
1050 |
/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */ |
/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */ |