Date: Tue, 20 Apr 2004 00:07:31 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 306 ************************************************** Monday 19 April 2004 Number 306 ************************************************** Subjects for today 1 -Zstack problem : Andreas Buening **= Email 1 ==========================** Date: Sun, 18 Apr 2004 16:30:31 +0200 From: Andreas Buening Subject: -Zstack problem Hello! Is the following problem known? If a program wants to spawn itself as a child process, i.e., int main(int argc, char * argv[]) { ... int pid = spawnvp(P_NOWAIT, argv[0], ...); ... then spawnvp() returns EBUSY (Resource busy) if all of the following is true: - emx, i.e., gcc 2.x is used (gcc 3.x not tested) - "-Zomf" is _not_ used - "-Zstack" 0x8000 _is_ used Using -Zomf or any other stack size works. Bye, Andreas _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs