diff options
author | Mattias Andrée <maandree@kth.se> | 2019-04-13 00:48:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-04-13 00:48:10 +0200 |
commit | b1e498418e51ee1b22be7e85c5d29e3f31cae9c8 (patch) | |
tree | 64668c549d2d0d944c133aaeb6d0afff5919dc48 /abs.c | |
parent | Fix makefile (diff) | |
download | liberror-libc-b1e498418e51ee1b22be7e85c5d29e3f31cae9c8.tar.gz liberror-libc-b1e498418e51ee1b22be7e85c5d29e3f31cae9c8.tar.bz2 liberror-libc-b1e498418e51ee1b22be7e85c5d29e3f31cae9c8.tar.xz |
Prefetch backtrace so that it does not contain functions used to set the error
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'abs.c')
-rw-r--r-- | abs.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ liberror_abs(int i) #else if (i != INT_MIN) return abs(i); + liberror_save_backtrace(NULL); liberror_set_error_errno("The absolute value of largest negative integer " "cannot be represented as a signed integer", "abs", EOVERFLOW); |