added reiser4 as having sparse files support and improved detection on mac

This commit is contained in:
Arvid Norberg
2007-07-09 23:29:58 +00:00
parent 47be8980ca
commit 5e08a9b379

View File

@@ -1019,7 +1019,11 @@ namespace libtorrent
return true;
}
return true;
if (!strcmp(fsinfo.f_fstypename, "hfs")
|| !strcmp(fsinfo.f_fstypename, "ufs"))
return true;
return false;
#endif
#if defined(__linux__)
@@ -1037,6 +1041,7 @@ namespace libtorrent
case 0xEF53: // EXT2 and EXT3
case 0x00011954: // UFS
case 0x52654973: // ReiserFS
case 0x52345362: // Reiser4
case 0x58465342: // XFS
return true;
}