🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Doug Gwyn <gwyn> Sun, 12 Jan 1986 21:49
Amazing bug in SVR2 cc driver
#261
Author: Doug Gwyn <gwyn>
Date: Sun, 12 Jan 1986 21:49
32 lines
1365 bytes
/*	@(#)cc.c	1.5	*/
/*
 * cc command -- calls the appropriate passes of the
 *		c compiler, assembler, and loader.
 */

char	release[] = "@(#) C rel 6.0";
...
	case 'E':
		exflag++;
	case 'P':
		pflag++;
		cflag++;
	case 'D':
	case 'I':
	case 'U':
	case 'C':
		if (nlist[Xcp] >= nargs) {
			error("Too many EPDIUC options", (char *)NULL);
			continue;
		}
		if (c == 'E' || c == 'P' || c == 'C')	/* DAG -- bug fix */
			list[Xcp][nlist[Xcp]] = stralloc(3);	/* DAG */
		else	/* c == 'D' || c == 'I' || c == 'U' */	/* DAG */
			list[Xcp][nlist[Xcp]] = stralloc(strlen(optarg)+2);
		list[Xcp][nlist[Xcp]][0] = '-';
		list[Xcp][nlist[Xcp]][1] = c;
		list[Xcp][nlist[Xcp]][2] = '\0';
		if (c == 'D' || c == 'I' || c == 'U')	/* DAG -- bug fix */
			strcat(list[Xcp][nlist[Xcp]], optarg);
		nlist[Xcp]++;
		continue;
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads