Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!genrad!decvax!harpo!floyd!vax135!martin From: martin@vax135.UUCP Newsgroups: net.news.b Subject: ifuncs.c, one final change to fix S flag Message-ID: <515@vax135.UUCP> Date: Thu, 30-Jun-83 13:11:05 EDT Article-I.D.: vax135.515 Posted: Thu Jun 30 13:11:05 1983 Date-Received: Fri, 1-Jul-83 00:17:07 EDT Lines: 24 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.