mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-16 15:58:06 -04:00
Portability
This commit is contained in:
parent
5a94719f2d
commit
c8b4945818
@ -107,7 +107,7 @@ int dwarfsbench_main(int argc, char** argv) {
|
|||||||
|
|
||||||
fs.walk([&](auto entry) {
|
fs.walk([&](auto entry) {
|
||||||
auto inode_data = entry.inode();
|
auto inode_data = entry.inode();
|
||||||
if (S_ISREG(inode_data.mode())) {
|
if (inode_data.is_regular_file()) {
|
||||||
wg.add_job([&fs, inode_data] {
|
wg.add_job([&fs, inode_data] {
|
||||||
try {
|
try {
|
||||||
file_stat stbuf;
|
file_stat stbuf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user