Re: Microsoft suggests using abort() instead of ExitProcess(0)

Glenn Randers-Pehrson <[email protected]>
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CA+PdXcu2y5QPzdD5LcZ3RmueTqz_y72bMoo6HdvthZaAtEJj_g@mail.gmail.com>
BTW it seems that we've already gotten rid of ExitProcess() in libpng17,
and always use "abort()" by default if PNG_ABORT is undefined.

Glenn

On Fri, Feb 17, 2017 at 8:44 AM, Glenn Randers-Pehrson
<[email protected]> wrote:
> They want to patch libpng/pngconf.h to fix their mistake, which is to
> define _WINDOWS without
> providing ExitProcess().
>
> They reject the idea of passing PNG_ABORT=abort() just because.
>
> Glenn
>
> On Fri, Feb 17, 2017 at 8:28 AM, Max Stepin <[email protected]> wrote:
>> Their reasoning:
>>
>> https://github.com/Microsoft/vcpkg/blob/master/docs/example-3-patch-libpng.md
>>
>> What do you guys think?
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> png-mng-implement mailing list
>> png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/png-mng-implement
>>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.