diff options
author | Stefan Kemper <stefan.kemper@artifex.com> | 2006-01-17 06:41:01 +0000 |
---|---|---|
committer | Stefan Kemper <stefan.kemper@artifex.com> | 2006-01-17 06:41:01 +0000 |
commit | e76ab1fb71a9a16d8a279d8d3dcaff39510a5c43 (patch) | |
tree | 391629bc70b6879cae72d76cbd10caf1e6a73699 | |
parent | 288ef3b09564896d4582c176456f02a4250621ea (diff) |
Comment about gs_debug['#'] usage
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2306 06663e23-700e-0410-b217-a244a6096597
-rw-r--r-- | met/mt_error.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/met/mt_error.c b/met/mt_error.c index 7dc89d788..7c2fc3763 100644 --- a/met/mt_error.c +++ b/met/mt_error.c @@ -26,6 +26,15 @@ int mt_throw_imp(const char *func, const char *file, int line, int op, int code, msg[sizeof(msg) - 1] = 0; va_end(ap); + if (!gs_debug_c('#')) { + ; /* NB: gs_log_errors + * we could disable these printfs, and probably will when, + * the code becomes more stable: + * return code; + */ + } + + /* throw */ if (op == 0) errprintf(NULL, "- %s:%d: %s(%d): %s\n", file, line, func, code, msg); |