SCCS-vsn: usr.bin/pascal/pxp/error.c 5.2
SCCS-vsn: usr.bin/pascal/pxp/yymain.c 5.3
SCCS-vsn: usr.bin/pascal/pxp/pmon.c 5.2
SCCS-vsn: usr.bin/pascal/src/error.c 5.2
SCCS-vsn: usr.bin/pascal/src/string.c 5.4
SCCS-vsn: old/lex/sub1.c 4.3
-static char sccsid[] = "@(#)sub1.c 4.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)sub1.c 4.3 (Berkeley) %G%";
#endif
# include "ldefs.c"
#endif
# include "ldefs.c"
default:
if(!printable(c)){
printf("\\%-3o",c);
default:
if(!printable(c)){
printf("\\%-3o",c);
-static char sccsid[] = "@(#)error.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)error.c 5.2 (Berkeley) %G%";
#ifdef PI
if (errpfx == ' ') {
printf(" ");
#ifdef PI
if (errpfx == ' ') {
printf(" ");
- for (i = line; i >= 10; i =/ 10)
+ for (i = line; i >= 10; i /= 10)
putchar(' ');
printf("... ");
} else if (Enoline)
putchar(' ');
printf("... ");
} else if (Enoline)
-static char sccsid[] = "@(#)pmon.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)pmon.c 5.2 (Berkeley) %G%";
if (inf.type != 0 && inf.type != 1)
goto format;
if (inf.type)
if (inf.type != 0 && inf.type != 1)
goto format;
if (inf.type)
if (lseek(zfil, inf.bp + 02000, 0) < 0)
goto format;
if (read(zfil, &pxp, sizeof pxp) != sizeof pxp)
if (lseek(zfil, inf.bp + 02000, 0) < 0)
goto format;
if (read(zfil, &pxp, sizeof pxp) != sizeof pxp)
if (lseek(zfil, pxp.buf + 02000, 0) < 0)
goto format;
if (pmread() < 0)
if (lseek(zfil, pxp.buf + 02000, 0) < 0)
goto format;
if (pmread() < 0)
-static char sccsid[] = "@(#)yymain.c 5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)yymain.c 5.3 (Berkeley) %G%";
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;
-static char sccsid[] = "@(#)error.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)error.c 5.2 (Berkeley) %G%";
#endif not lint
#include "whoami.h"
#endif not lint
#include "whoami.h"
if (lastname == name)
return;
if (lastname == name)
return;
gettime( name );
printf("%s %s:\n" , myctime( &tvec ) , name );
lastname = name;
gettime( name );
printf("%s %s:\n" , myctime( &tvec ) , name );
lastname = name;
-static char sccsid[] = "@(#)string.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)string.c 5.4 (Berkeley) %G%";
#endif not lint
#include "whoami.h"
#endif not lint
#include "whoami.h"
#ifndef PI01
#ifndef PXP
*stract++ = strngp;
#ifndef PI01
#ifndef PXP
*stract++ = strngp;
#endif
#endif
strng = strngp;
#endif
#endif
strng = strngp;
for (i = STRINC, sp = strp; sp < stract; sp++) {
if (cp >= *sp && cp < (*sp + STRINC))
return (i + (cp - *sp));
for (i = STRINC, sp = strp; sp < stract; sp++) {
if (cp >= *sp && cp < (*sp + STRINC))
return (i + (cp - *sp));
}
i = nlfund(cp);
if (i != 0)
}
i = nlfund(cp);
if (i != 0)