gutsupport for C++ exceptions
[p5sagit/p5-mst-13.2.git] / deb.c
diff --git a/deb.c b/deb.c
index 052cd06..ad26cd6 100644 (file)
--- a/deb.c
+++ b/deb.c
@@ -1,6 +1,6 @@
 /*    deb.c
  *
- *    Copyright (c) 1991-1997, Larry Wall
+ *    Copyright (c) 1991-1999, Larry Wall
  *
  *    You may distribute under the terms of either the GNU General Public
  *    License or the Artistic License, as specified in the README file.
@@ -28,7 +28,7 @@ deb(const char *pat, ...)
     PerlIO_printf(Perl_debug_log, "0x%lx (%s:%ld)\t",
                  (unsigned long) thr,
                  SvTYPE(gv) == SVt_PVGV ? SvPVX(GvSV(gv)) : "<free>",
-                 (long)curcop->cop_line);
+                 (long)PL_curcop->cop_line);
 #else
     PerlIO_printf(Perl_debug_log, "(%s:%ld)\t",
        SvTYPE(gv) == SVt_PVGV ? SvPVX(GvSV(gv)) : "<free>",