From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 11 Dec 1995 14:10:18 -0500 From: forsyth@plan9.cs.york.ac.uk forsyth@plan9.cs.york.ac.uk Subject: APE collides in select rendezvous Topicbox-Message-UUID: 384398e8-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19951211191018.i3CjkRMOAYPR5Pz38NbCPBNOpQdjzp5Bbv7YXZ5iAHE@z> vortex% diff old /sys/src/ape/lib/ap/plan9/_buf.c 59c59 < _RFORK(RFREND); --- > _RFORK(RFNAMEG); /* ideally, RFREND */ RFREND is defined in ap/plan9's sys9.h, but isn't in plan 9 as distributed RFNAMEG will just have to do. the symptom is that an APE program that uses select but also forks and execs another program using select will end up with one side or the other, or both, being confused when the rendezvous calls clash.