Re: Microsoft suggests using abort() instead of ExitProcess(0)
John Bowler <[email protected]>
| Newsgroups | gmane.comp.graphics.png.devel |
|---|---|
| Message-ID | <CAP7U399n6d5c5ed+eo7ue8=xq8g4of2R_4Yt2njH95dJbuEwpQ@mail.gmail.com> |
I agree completely with Glenn. The original code was there because at least one official version of Windows (it might have been Windows CE) had a defective C library which did not include a number of ISO C-90 functions. There always was a better fix anyway; for OS implementations that do not offer C-90 conformant library code write wrapper functions specific to the OS and link with that. There are very very few, if any, such operating systems these days. John Bowler ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot