[net.news.b] ifuncs.c, one final change to fix S flag

martin@vax135.UUCP (06/30/83)

sorry, this fix has taken 3 articles to explain, but here is the next
bit to change. there need to to be a define for uux without the - flag
and the < %s. without this fix uucp send the article over the wires with
2 set of input ( one from the - and one from the < %s).
my fix includes putting a define in defs.h and code in ifuncs.c

defs.h:-
#define EFTXMIT	"/usr/bin/uux - -r -z -n %s!rnews" /* used for execing uux */

ifuncs.c:-
		fclose(ofp);
		if (*sp->s_xmit == '\0')
!			if (noshell)
!				sprintf(bfr, EFTXMIT, sp->s_name);
!			else
!				sprintf(bfr, DFTXMIT, sp->s_name, TRANS);
		else
			sprintf(bfr, "(%s) < %s", sp->s_xmit, TRANS);
	}

this then uses the standard in for the uux and that is opened after the fork()
so all is well again.

martin.