=/^G show total bytes now; document may not always work
[unix-history] / usr / src / usr.bin / pascal / pxp / yymain.c
index 047bd23..48fb76e 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)yymain.c   5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)yymain.c   5.3 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -166,7 +166,7 @@ magic2()
        pflush();
        lseek(ofil, 0l, 0);
        header.data_size = ( unsigned ) lc - header.txt_size;
        pflush();
        lseek(ofil, 0l, 0);
        header.data_size = ( unsigned ) lc - header.txt_size;
-       header.data_size =- sizeof header;
+       header.data_size -= sizeof header;
        write(ofil, &header, sizeof header);
        lseek(ofil, ( long ) ( HEAD_BYTES - sizeof ( short ) ) , 0);
        i = ( ( unsigned ) lc) - HEAD_BYTES;
        write(ofil, &header, sizeof header);
        lseek(ofil, ( long ) ( HEAD_BYTES - sizeof ( short ) ) , 0);
        i = ( ( unsigned ) lc) - HEAD_BYTES;