int nc
, nl
, cflag
, i
, j
, c
, f20
;
i
= nc
= nl
= cflag
= f20
= 0;
tmp0
= copy("/tmp/ctm0a");
while((c
=open(tmp0
, 0))>=0) {
while((creat(tmp0
, 012))<0)
(tmp1
= copy(tmp0
))[8] = '1';
(tmp2
= copy(tmp0
))[8] = '2';
(tmp3
= copy(tmp0
))[8] = '3';
(tmp4
= copy(tmp0
))[8] = '4';
printf("%s:\n", clist
[i
]);
av
[1] = expand(clist
[i
]);
if (callsys("/lib/c0", av
)) {
if(callsys("/lib/c1", av
)) {
if(link("a.out", t
) | unlink("a.out")) {
printf("move failed: %s\n", t
);
callsys("/usr/lib/ld20", av
);
int ibuf1
[259], ibuf2
[259], obuf
[259];
if (fopen(file
, ibuf1
)<0)
if (getc(ibuf1
) != '%') {
ibuf1
[1]++; /* back up over % */
if (fcreat(tmp4
, obuf
) < 0) {
printf("Can't creat %s\n", tmp4
);
while (c
= getc(ibuf1
)) {
while ((c
= getc(ibuf1
)) != '\n')
if (fopen(hdr
, ibuf2
) < 0) {
printf("Missing file %s\n", hdr
);
while (c
= getc(ibuf2
)) {
if (c
<=8 & c
>2 & *s
++=='.' & *s
=='c')
printf("Can't find %s\n", f
);
if ((t
=(status
&0377)) != 0 & t
!=14) {
if (t
!=12) /* interrupt */
printf("Fatal error in %s\n", f
);
return((status
>>8) & 0377);
if (*t
++ == '\0') return (1);