[Bug 322214] Re: php incorrectly opens stdin

Grugnog grugnog at yahoo.com
Wed Jun 10 05:53:33 BST 2009


This also breaks the ability to use php within bash "complete -F"
function code (used for shell auto-completion). I have attached a test
case (test instructions and expected/actual results are comments in the
file). I am using the Jaunty PHP - PHP 5.2.6-3ubuntu4.1 with Suhosin-
Patch 0.9.6.2 (cli) (built: Apr 23 2009 14:35:05). I have tested with
the http://www.dotdeb.org/ PHP 5.3 rc2 build (which I am pretty sure
would use readline) and it functions correctly there.

For reference, the upstream issue where I discovered this behaviour is
at http://drupal.org/node/437568#comment-1640730

** Attachment added: "autophptest_completion.sh"
   http://launchpadlibrarian.net/27719677/autophptest_completion.sh

-- 
php incorrectly opens stdin
https://bugs.launchpad.net/bugs/322214
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list