Just to confirm, this is still present as of php5-cli 5.3.3-1ubuntu3
I've taken a good long look at this, and I am 99.9% sure that this is a
problem with libedit..
#include
#include
int main(int argc, char *argv[])
{
using_history();
printf("Some interesting info\n");
return 0;
}
** Changed in: php5 (Ubuntu)
Status: Confirmed => Triaged
--
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.
--
Ubuntu-server-bugs mailing list
Ubu
This bug, which is still present in Ubuntu Server 9.10, makes php
development on ubuntu much more difficult.
Piping long output streams into a pager is a standard part of any
developer's day-to-day work, and php usage from the command line is
essential to many users.
I'd like to see this bug made
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)
** Changed in: php5 (Ubuntu)
Importance: Undecided => Low
--
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.
--
Ubuntu-server-bugs mailing list
Ubuntu-
I am also seeing this in Ubuntu Server 9.04 and php5-cli
5.2.6.dfsg.1-3ubuntu4
--
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.
--
Ubuntu-server-bugs ma
I suspect this bug might somehow be related to libedit, which was
(re)introduced into php5-cli in Hardy.
I downloaded the source packages of php on Hardy as well as on Jaunty,
removed "--with-libedit" from debian/rules and rebuilt the packages.
When I had installed the new binaries "php -i | less"
I can confirm this problem in Jaunty (5.2.6-2ubuntu5), Intrepid
(5.2.6-2ubuntu4) and Hardy (5.2.4-2ubuntu5.4). Well, at least I can
confirm the symptom.
The versions in Gutsy (5.2.3-1ubuntu6.4) and Dapper (5.1.2-1ubuntu3.12)
seems to be working fine.
** Changed in: php5 (Ubuntu)
Status: Ne