avoid munmap(MAP_FAILED,...) in GC phase
commitdd84e5742cb2fc6aaa96aa0214e0ed3a963d68da
authorEric Wong <normalperson@yhbt.net>
Wed, 4 Aug 2010 00:11:31 +0000 (3 17:11 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 4 Aug 2010 08:47:35 +0000 (4 08:47 +0000)
treea89627f958032c1cba4fe79d6d2683fcc18ed108
parentaeb4de9ccdbc0c896e71f5286ca767c8200278bf
avoid munmap(MAP_FAILED,...) in GC phase

This is only possible during an exit if our invocation of
rb_gc() fails and causes the process to terminate.  Otherwise
the GC won't free something that's obviously on the stack.
ext/raindrops/raindrops.c