Enhance error checking in heap allocation routines on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Fri, 30 May 2014 09:02:55 +0000 (12:02 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 30 May 2014 09:02:55 +0000 (12:02 +0300)
commit6c572f9ab3d028dbc399fc97ff8d8a9835be20fe
tree4d6846e1dddd574a1b890c6ffd424a0424270ae6
parent8d3103b1efd32a2faf257e26a5474e12543ce798
Enhance error checking in heap allocation routines on MS-Windows.

 src/w32heap.c (malloc_before_dump, malloc_after_dump)
 (malloc_before_dump, realloc_after_dump, realloc_before_dump)
 (mmap_alloc, mmap_realloc): Check for errors more thoroughly and
 set errno where appropriate to emulate CRT functions.
src/ChangeLog
src/w32heap.c