Minor improvement of sbrk emulation on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Mon, 2 Jun 2014 17:08:50 +0000 (20:08 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 2 Jun 2014 17:08:50 +0000 (20:08 +0300)
commit0dd0ad374ba839a268e864512886aebbe5d49dca
treea8b0dd9a8d5cad951b554b37de0d1b960dd98b37
parent7973d8d5facf11b6408f8e17c9ad11efc7ff6eba
Minor improvement of sbrk emulation on MS-Windows.

 src/w32heap.c (malloc_after_dump, realloc_after_dump): Update the
 emulated break value only if it goes up.
 (sbrk): Add assertion that the INCREMENT argument is strictly
 zero.  Improve and correct the commentary.
src/ChangeLog
src/w32heap.c