SCCS-vsn: usr.bin/pascal/pxp/main.c 5.4
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)main.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 5.4 (Berkeley) %G%";
char usagestr[] =
"pxp [ -acdefjntuw_ ] [ -23456789 ] [ -z [ name ... ] ] name.p";
char *howfile = "/usr/lib/how_pxp";
char usagestr[] =
"pxp [ -acdefjntuw_ ] [ -23456789 ] [ -z [ name ... ] ] name.p";
char *howfile = "/usr/lib/how_pxp";
-char *stdoutn = "Standard output";
+char stdoutn[20] = "Standard output";
if (onefile) {
int onintr();
if (onefile) {
int onintr();
- cp = (stdoutn = "/tmp/pxp00000") + 13;
+ cp = strcpy(stdoutn, "/tmp/pxp00000") + 13;
signal(2, onintr);
for (c = getpid(); c; c /= 10)
*--cp |= (c % 10);
signal(2, onintr);
for (c = getpid(); c; c /= 10)
*--cp |= (c % 10);