On Sat Dec 23 15:29:19 EST 2006, [EMAIL PROTECTED] wrote: > > Python 2.4.3. port from Moroo Jun is also old. > > Compiler stops at rendezvous() > > The prototype for rendezvous changed, > but the semantics did not. You can just > cast the old call so that it compiles and > it will continue to work. > > Russ
This is the diff: diff /n/dump/2005/1027/sys/src/cmd/python/Plan9/plan9module.c /sys/src/cmd/python/Plan9/plan9module.c 881c881,882 < ulong tag, val; --- > uvlong tag, val; > void *p; 883c884 < if(!PyArg_ParseTuple(args, "ll:rendezvous", &tag, &val)) --- > if(!PyArg_ParseTuple(args, "LL:rendezvous", &tag, &val)) 886c887 < val = rendezvous(tag, val); --- > p = rendezvous((void*)tag, (void*)val); 888c889 < if(val == ~0) --- > if(p == (void*)-1) 890c891 < return PyInt_FromLong(val); --- > return PyLong_FromLongLong((uvlong)p);
