diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-10-12 08:37:25 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-10-12 08:37:25 +0200 |
commit | 4ee01bbc747ce85b5ccfeed3e934dfb76fb14482 (patch) | |
tree | cde2ab7ff286056127ca4d7929ece9dc0b0216ca /base/error.c | |
parent | 358811630686460d6b0a96021a1bcb4c3124fb03 (diff) | |
download | mupdf-4ee01bbc747ce85b5ccfeed3e934dfb76fb14482.tar.xz |
merged seokgyos win32 fixes
Diffstat (limited to 'base/error.c')
-rw-r--r-- | base/error.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/error.c b/base/error.c index 33954e07..b00157e3 100644 --- a/base/error.c +++ b/base/error.c @@ -50,6 +50,9 @@ fz_throw0(const char *func, const char *file, int line, char *fmt, ...) eo->msg[sizeof(eo->msg) - 1] = '\0'; va_end(ap); + if (getenv("BOMB")) + fz_abort(eo); + return eo; } |