cvs: php-src /main/streams streams.c
| From: | Ilia Alshanetsky | Date: | Wed, 10 Sep 2003 00:58:12 +0000 |
| Subject: | cvs: php-src /main/streams streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23726@lists.php.net to get a copy of this message | ||
iliaa Tue Sep 9 20:58:12 2003 EDT
Modified files:
/php-src/main/streams streams.c
Log:
Fixed bug #25429 (fix copying of stdin using copy() function)
Index: php-src/main/streams/streams.c
diff -u php-src/main/streams/streams.c:1.33 php-src/main/streams/streams.c:1.34
--- php-src/main/streams/streams.c:1.33 Thu Aug 28 13:07:40 2003
+++ php-src/main/streams/streams.c Tue Sep 9 20:58:12 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.33 2003/08/28 17:07:40 sas Exp $ */
+/* $Id: streams.c,v 1.34 2003/09/10 00:58:12 iliaa Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -1243,6 +1243,9 @@
if (ssbuf.sb.st_size == 0
#ifdef S_ISFIFO
&& !S_ISFIFO(ssbuf.sb.st_mode)
+#endif
+#ifdef S_ISCHR
+ && !S_ISCHR(ssbuf.sb.st_mode)
#endif
) {
return 1;