diff options
author | Karl Berry <karl@freefriends.org> | 2007-03-23 20:26:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-03-23 20:26:25 +0000 |
commit | 5e8cbe719ce8e59ab356ffed269b4c9c3a658f71 (patch) | |
tree | 3fbaacba0ed973b58856726cf76450090f1c9f26 /Build/source/texk/dvipsk/dvips.c | |
parent | f0c9e514f6a42d6df94a4d458f2ee97f355f1822 (diff) |
if KPATHSEA_DEBUG is set, assume DVIPSDEBUG too; document
git-svn-id: svn://tug.org/texlive/trunk@4080 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/dvips.c')
-rw-r--r-- | Build/source/texk/dvipsk/dvips.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/dvips.c b/Build/source/texk/dvipsk/dvips.c index 0a29f382efd..11d5a844a9d 100644 --- a/Build/source/texk/dvipsk/dvips.c +++ b/Build/source/texk/dvipsk/dvips.c @@ -633,10 +633,16 @@ Primary author of Dvips: T. Rokicki; -k maintainer: T. Kacvinsky/ S. Rahtz."); #endif dvips_debug_flag = 0 ; { /* for compilers incompatible with c99 */ - char *s = (char *)getenv ("DVIPS_DEBUG") ; + char *s = (char *)getenv ("DVIPSDEBUG") ; if (s) { dvips_debug_flag = 1 ; free (s) ; + } else { + s = (char *) getenv ("KPATHSEA_DEBUG") ; + if (s) { + dvips_debug_flag = 1 ; + free (s) ; + } } } initialize() ; |