moriyoshi Sat Mar 29 11:18:04 2003 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
Fixed too optimized part
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.223 php4/sapi/cgi/cgi_main.c:1.224
--- php4/sapi/cgi/cgi_main.c:1.223 Sat Mar 29 11:13:51 2003
+++ php4/sapi/cgi/cgi_main.c Sat Mar 29 11:18:04 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.223 2003/03/29 16:13:51 moriyoshi Exp $ */
+/* $Id: cgi_main.c,v 1.224 2003/03/29 16:18:04 moriyoshi Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -355,9 +355,11 @@
tmp_read_bytes = FCGX_GetStr( pos, count_bytes-read_bytes,
request->in );
pos += tmp_read_bytes;
} else {
-#endif
tmp_read_bytes = read(0, buffer+read_bytes,
count_bytes-read_bytes);
}
+#else
+ tmp_read_bytes = read(0, buffer+read_bytes, count_bytes-read_bytes);
+#endif
if (tmp_read_bytes<=0) {
break;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php