[physfs] Errors...

Ryan C. Gordon icculus at icculus.org
Thu Jul 22 02:52:04 EDT 2010


>      //General archiver errros

Almost all of the zlib errors are either generic things (out of memory), 
reporting API usage errors (which would be PhysicsFS internal bugs that 
the app should never see), or would result from corrupt .zip data (which 
would be best collapsed into a generic "archive is corrupt" error).

>      //unused???

Most of these were from the Mac OS 9 code (it has the same problem as 
OS/2 ... no system-level equivalent of strerror()). They _were_ used at 
one time. Not that they were terribly helpful (you likely weren't going 
to programmatically recover from ERR_NOT_MAC_DISK), but they might have 
been for displaying to the end user before giving up.

--ryan.



More information about the physfs mailing list