AmendHub

Download:

nulleric

/

Fix-a-Fork

/

amendments

/

17

Add support for tar/bz2 based on file extensions.


eric made amendment 17 11 months ago
--- main.c Thu Nov 9 10:27:03 2023 +++ main.c Thu Nov 9 12:28:51 2023 @@ -125,6 +125,14 @@ OSErr openFile(unsigned char *fName, short fRefNum, sh gType = 'BINA'; gCreator = 'SITx'; found = true; + } else if(strcmp(ext, "tar")) { + gType = 'TARF'; + gCreator = 'SITx'; + found = true; + } else if(strcmp(ext, ".bz")) { + gType = 'Bzp2'; + gCreator = 'SITx'; + found = true; } }