* alloc.c (memory_full) [!SYNC_INPUT]: Fix signal-related race.
commit66606eea1f69d1b35dfc006c2901f2c7ca08d487
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 Jul 2011 17:05:33 +0000 (28 10:05 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 Jul 2011 17:05:33 +0000 (28 10:05 -0700)
tree8249a45870851ca0291778d34c2380987165a2ce
parent21956cce2b7b1d6a6c6777d800e63e62c2fbd594
* alloc.c (memory_full) [!SYNC_INPUT]: Fix signal-related race.

Without this fix, if a signal arrives just after memory fills up,
'malloc' might be invoked reentrantly.
src/ChangeLog
src/alloc.c