ID: 33147 Updated by: [EMAIL PROTECTED] Reported By: skissane at iips dot mq dot edu dot au Status: Assigned Bug Type: Program Execution Operating System: * PHP Version: 5CVS-2005-05-27 Assigned To: wez New Comment:
He might have an anal attitude, but he is right on the point where commit messages should be descriptive, and not cryptic. Previous Comments: ------------------------------------------------------------------------ [2005-05-27 13:40:19] [EMAIL PROTECTED] sniper: lose the anal attitude. Read the mailing list archives and you'll discover that Sascha didn't approve of the configure magic, and that neither you nor him wanted to volunteer to make it work. Due to lack of interest, it was disabled. Happy now? Going to fix it now? ------------------------------------------------------------------------ [2005-05-27 08:54:00] [EMAIL PROTECTED] Reason for it being turned off is here: revision 1.27 date: 2004/05/29 09:27:18; author: wez; state: Exp; lines: +3 -3 Turn this off then =========================================================== Pretty cryptic, if I may say so. Assigning to Wez who propably had some reason to do it but didn't (as usual) want to tell the rest of us why.. ------------------------------------------------------------------------ [2005-05-27 01:29:27] skissane at iips dot mq dot edu dot au Tested with the patch you supplied. (Patch would not apply, so I had to apply most of it by hand.) My test case works with the test you supplied, and --enable-pty supplied as a config option. ------------------------------------------------------------------------ [2005-05-26 10:16:03] [EMAIL PROTECTED] Please test the patch in this letter: http://www.mail-archive.com/internals@lists.php.net/msg14854.html ------------------------------------------------------------------------ [2005-05-26 09:57:11] skissane at iips dot mq dot edu dot au I've been running some tests of mine own, and it seems to work for me. Here is a PHP test case for this bug: (Note, I should have a SKIPIF which tests for the existence of the ptsname(), grantpt() and unlockpt() C language functions on the system... but I don't know how to write such a SKIPIF test...) --TEST-- Bug #33147 (proc_open: basic test of Unix98 PTYs functionality) --FILE-- <?php // Create a pseudo terminal for the child process $descriptorspec = array( 0 => array("pty"), 1 => array("pty"), 2 => array("pty") ); $process = proc_open("echo this is working", $descriptorspec, $pipes); if (is_resource($process)) { echo "OK\n"; while (!feof($pipes[1])) echo fread($pipes[1],1024); } ?> --EXPECT-- OK this is working ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33147 -- Edit this bug report at http://bugs.php.net/?id=33147&edit=1