forked from premiere/premiere-libtorrent
added reiser4 as having sparse files support and improved detection on mac
This commit is contained in:
parent
47be8980ca
commit
5e08a9b379
|
@ -1019,7 +1019,11 @@ namespace libtorrent
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
if (!strcmp(fsinfo.f_fstypename, "hfs")
|
||||||
|
|| !strcmp(fsinfo.f_fstypename, "ufs"))
|
||||||
|
return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
|
@ -1037,6 +1041,7 @@ namespace libtorrent
|
||||||
case 0xEF53: // EXT2 and EXT3
|
case 0xEF53: // EXT2 and EXT3
|
||||||
case 0x00011954: // UFS
|
case 0x00011954: // UFS
|
||||||
case 0x52654973: // ReiserFS
|
case 0x52654973: // ReiserFS
|
||||||
|
case 0x52345362: // Reiser4
|
||||||
case 0x58465342: // XFS
|
case 0x58465342: // XFS
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue