diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-06-18 07:10:19 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-06-18 07:10:19 +0000 |
commit | fd181c75661f7c3d766abc506c3ae2f11670bbaf (patch) | |
tree | 14968c4711aafc3a9cea2a640c9d24c256a85951 /regexec.c | |
parent | 45b989d7833b483a43f888d8263f4fdfbd93b1d0 (diff) | |
download | perl-fd181c75661f7c3d766abc506c3ae2f11670bbaf.tar.gz |
Allow redirection of debug messages
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -590,7 +590,7 @@ char *prog; #define sayNO goto no #define saySAME(x) if (x) goto yes; else goto no if (regnarrate) { - fprintf(stderr, "%*s%2d%-8.8s\t<%.10s>\n", regindent*2, "", + fprintf(Perl_debug_log, "%*s%2d%-8.8s\t<%.10s>\n", regindent*2, "", scan - regprogram, regprop(scan), locinput); } #else @@ -806,7 +806,7 @@ char *prog; #ifdef DEBUGGING if (regnarrate) - fprintf(stderr, "%*s %d %lx\n", regindent*2, "", + fprintf(Perl_debug_log, "%*s %d %lx\n", regindent*2, "", n, (long)cc); #endif |