Log Message: |
Provide a way to distinguish the out-of-memory error from abort() on Windows.
There are multiple reasons why an abort() could be called in our code. Make
crashing due to out-of-memory conditions use a specific exception code, so
that we would be able to distinguish it from, e.g., crashing due to a failed
SVN_ERR_ASSERT().
* subversion/libsvn_subr/pool.c
(abort_on_pool_failure): Raise STATUS_NO_MEMORY on Windows.
* subversion/libsvn_subr/win32_crashrpt.c
(exception_string): Unroll the part of the stringifying macro. Handle
STATUS_NO_MEMORY in this helper for our unhandled exception filter.
|