vhelin / wla-dx

WLA DX - Yet Another GB-Z80/Z80/Z80N/6502/65C02/65CE02/65816/68000/6800/6801/6809/8008/8080/HUC6280/SPC-700/SuperFX Multi Platform Cross Assembler Package
Other
546 stars 98 forks source link

Remove all tmpfile calls on Windows due to poor legacy behavior. Fixe… #595

Closed cr1901 closed 1 year ago

cr1901 commented 1 year ago

Fixes #593.

Use extern int create_tmp_file(FILE **); to avoid the need for a new source file for now. We may wish to split it out in the future.

cr1901 commented 1 year ago

PATH_MAX needs to be FILENAME_MAX (EDIT FILENAME_MAX can be INT_MAX. That's not a good idea).

Can you tell it's been a while? :)

cr1901 commented 1 year ago

I have no idea why running the tests on Linux stalled. They pass locally for me w/ these changes.

vhelin commented 1 year ago

Thank you!