mpw icon indicating copy to clipboard operation
mpw copied to clipboard

reziigs / OS error 0

Open ksherlock opened this issue 9 years ago • 1 comments

f001 Access(00f70eac, 6400, 00f60650) open(Locale/US/General.code, 0801)

File ":Locale:US:General.rez"; Line 71; ### RezIIgs - No error (OS error 0) during open of "General.code".

It probably should have an error number.

ksherlock avatar Feb 11 '16 16:02 ksherlock

The underlying issue is that open can return a C errno or a toolbox error. if it's a toolbox error, it's stored in MacOSErr and remapped and stored in errno. If it's a C errno, MacOSErr is reset to 0 (and errno is updated, of course).

ksherlock avatar Jul 02 '16 17:07 ksherlock