Patch to allow more granular aborting.

Theo Schlossnagle jesus at
Sun Mar 13 18:08:08 CET 2011

Currently, libgmp treats out-of-memory and FPE errors as the same type
of abort as consistency issues.  This makes it hard to integrate into
long running processes where you want to catch and react to these

The following patch is against tip and provides a replaceable abort
function specifically for the OOM and FPE cases.

changeset:   14053:5f8173737e3c
tag:         tip
user:        Theo Schlossnagle <jesus at>
date:        Sun Mar 13 12:38:10 2011 -0400
summary:     Support replacement abort for OOM and FPE conditions

Theo Schlossnagle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oom-fpe-niceabort.diff
Type: application/octet-stream
Size: 3556 bytes
Desc: not available
URL: <>

More information about the gmp-devel mailing list