projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
allow interrupted message parsing from stream
[m6w6/ext-http]
/
gen_curlinfo.php
diff --git
a/gen_curlinfo.php
b/gen_curlinfo.php
index 726fd48250c84dac3adc3d413584bef47253f720..fea14bbfb9aeed7cbbb8a789b7ec8ee495f11702 100644
(file)
--- a/
gen_curlinfo.php
+++ b/
gen_curlinfo.php
@@
-91,8
+91,8
@@
foreach ($infos as $info) {
if (isset($ifdefs[$short])) printf("#endif\n");
}
if (isset($ifdefs[$short])) printf("#endif\n");
}
-file_put_contents("php_http_curl.c",
+file_put_contents("php_http_curl
_client
.c",
preg_replace('/(\/\* BEGIN::CURLINFO \*\/\n).*(\n\s*\/\* END::CURLINFO \*\/)/s', '$1'. ob_get_contents() .'$2',
preg_replace('/(\/\* BEGIN::CURLINFO \*\/\n).*(\n\s*\/\* END::CURLINFO \*\/)/s', '$1'. ob_get_contents() .'$2',
- file_get_contents("php_http_curl.c")));
+ file_get_contents("php_http_curl
_client
.c")));
?>
?>