Closed rejuce closed 1 year ago
when compiled for windows open() returns positive numbers on error
when compiled on linux open() return negative numbers on error
that gives one a big gatcha when unsing in win/linux cross plattform code.
suggest: invert windows return code and unify to posix
Updated accordingly. Thank you!
when compiled for windows open() returns positive numbers on error
when compiled on linux open() return negative numbers on error
that gives one a big gatcha when unsing in win/linux cross plattform code.
suggest: invert windows return code and unify to posix