Hi, I am experiencing some problems with the wordexp function.
I am working on a program whose purpose is to launch program on file patterns. To evaluate the list of files, I use the wordexp function, and to know when launched programs are over, I have attached a function ("childcatcher") to SIGCHLD signal. The problem is that SIGCHLD catching interfere with wordexp, which then throw an WRDE_ERRNO error. (I have discovered this as there was the same bug on AIX : https://www-304.ibm.com/support/docview.wss?uid=isg1IY65413 , which has been corrected.) So I have I tried to disable the SIGCHLD catching during the wordexp execution, but of course under heavy load, I have signals uncaught and then my program wait for them forever. I'm looking for some ways to work around this, thanks in advance, Frédéric Heulin. -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code