Path: utzoo!attcan!uunet!munnari.oz.au!metro!usage.csd.unsw.oz.au!ccadfa!wkt From: wkt@ccadfa.adfa.oz.au (Warren Toomey) Newsgroups: comp.os.minix Subject: [bugfix] Fix to Clam's alias/pipe bug? Keywords: bugfix Message-ID: <1932@ccadfa.adfa.oz.au> Date: 28 Sep 90 00:58:33 GMT Organization: Computer Centre, University College, UNSW, ADFA, Canberra, Australia Lines: 36 David Feynes reported Clam's alias/pipe bug, which has been known for some time. Here's a one-line _hack_ which fixes it. I've tested it and it appears to work, but it may have some side effects, I don't know. Could David and as many others test this patch & report success/failure?! The patch is to the Oct'89 posting of the source, i.e to the source as it appears on plains/sirius/ccadfa. Warren P.S Note the crcs in the patch - I propose cdiff.c be changed to add these. Votes for and against, please! echo x - exec.cdif sed '/^X/s///' > exec.cdif << '/' X*** 23687 20924 oexec.c Fri Sep 28 10:28:45 1990 X--- 14056 20939 exec.c Fri Sep 28 10:48:49 1990 X*************** X*** 177,182 **** X--- 177,183 ---- X int i,pos,ppos,pid=0,oldnumargtemp,retval; X bool skip_to_semi; X X+ bckgnd=TRUE; X if (bckgnd==TRUE) NoIoctl=1; X if (alias_depth==0) /* are we at the bottom level? */ X { / -- Warren Toomey VK2XWT, not flying this w/e? Deep in the bowels of ADFA Comp Science. `At least he didn't bring in a bucket!'