Re: [q-lang-users] q 7.11 build fails on Mac OS X 10.3.9
Brought to you by:
agraef
From: John C. <co...@cc...> - 2008-06-10 02:14:59
|
Albert Graef scripsit: > > It says you should use setpgid instead of setpgrp? > > That's not an option here. The system module provides the POSIX system > interface to Q scripts. POSIX has both operations, so they are both > provided by the module. However, Posix defines setpgrp() as identical to setpgid(0, 0), so you can *export* setpgrp to Q scripts but implement it using setpgid. The same for getpgrp() and getpgid(0). That way you don't care if get/setpgrp is defined by the system or not. -- Barry gules and argent of seven and six, John Cowan on a canton azure fifty molets of the second. co...@cc... --blazoning the U.S. flag http://www.ccil.org/~cowan |