added some debugging
authorJaap Akkerhuis <jaap@ucbvax.Berkeley.EDU>
Wed, 1 Apr 1987 07:17:13 +0000 (23:17 -0800)
committerJaap Akkerhuis <jaap@ucbvax.Berkeley.EDU>
Wed, 1 Apr 1987 07:17:13 +0000 (23:17 -0800)
SCCS-vsn: local/ditroff/ditroff.okeeffe/n5.c 2.2
SCCS-vsn: local/ditroff/ditroff.okeeffe/troff/n5.c 2.2

usr/src/local/ditroff/ditroff.okeeffe/n5.c
usr/src/local/ditroff/ditroff.okeeffe/troff/n5.c

index bccac5d..f5badc4 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)n5.c       2.1 (CWI) 85/07/18";
+static char sccsid[] = "@(#)n5.c       2.2 (CWI) 87/03/31";
 #endif lint
 #include "tdef.h"
 #include <sgtty.h>
 #endif lint
 #include "tdef.h"
 #include <sgtty.h>
@@ -484,7 +484,7 @@ e0:
        flushi();
        if ((nxev >= NEV) || (nxev < 0) || (evi >= EVLSZ)) {
                flusho();
        flushi();
        if ((nxev >= NEV) || (nxev < 0) || (evi >= EVLSZ)) {
                flusho();
-               errprint("cannot do ev.");
+               errprint("cannot do ev %d. (evi %d)", nxev, evi);
                if (error)
                        done2(040);
                else 
                if (error)
                        done2(040);
                else 
index bccac5d..f5badc4 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)n5.c       2.1 (CWI) 85/07/18";
+static char sccsid[] = "@(#)n5.c       2.2 (CWI) 87/03/31";
 #endif lint
 #include "tdef.h"
 #include <sgtty.h>
 #endif lint
 #include "tdef.h"
 #include <sgtty.h>
@@ -484,7 +484,7 @@ e0:
        flushi();
        if ((nxev >= NEV) || (nxev < 0) || (evi >= EVLSZ)) {
                flusho();
        flushi();
        if ((nxev >= NEV) || (nxev < 0) || (evi >= EVLSZ)) {
                flusho();
-               errprint("cannot do ev.");
+               errprint("cannot do ev %d. (evi %d)", nxev, evi);
                if (error)
                        done2(040);
                else 
                if (error)
                        done2(040);
                else