#32107 [Com]: fclose (STDIN|STDOUT|STDERR) not working
| From: | valerio at wnet dot it | Date: | Mon, 10 Oct 2005 21:30:24 +0000 |
| Subject: | #32107 [Com]: fclose (STDIN|STDOUT|STDERR) not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86377@lists.php.net to get a copy of this message | ||
ID: 32107
Comment by: valerio at wnet dot it
Reported By: php at the-eend dot org
Status: No Feedback
Bug Type: CGI related
Operating System: Redhat ES3
PHP Version: 4.3.10
New Comment:
This bug is still present in php 4.3.10.
Any chance to have it fixed in the 4.3 tree?
Previous Comments:
------------------------------------------------------------------------
[2005-08-06 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-07-29 15:35:13] wez@php.net
Please try it with PHP 5
------------------------------------------------------------------------
[2005-07-29 13:01:57] Andreas dot Oesterhelt at InTradeSys dot com
Here's the test case requested by tony2001@php.net:
<?php
fclose(STDOUT);
/* This now fails..*/
fwrite (STDOUT, "Test");
/* but this still works: */
echo "Stdout still open\n";
/*
* Standard output is still open.
* The process is therefore unable to detach from its terminal.
* See PHP Bug #27865 (PHP5, fixed)
*/
?>
Tested in PHP 4.3.10 (cli)
------------------------------------------------------------------------
[2005-03-20 18:01:30] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2005-02-25 14:09:02] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
------------------------------------------------------------------------
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/32107
--
Edit this bug report at http://bugs.php.net/?id=32107&edit=1