@@ -231,7 +231,7 @@ static php_stream * phar_wrapper_open_url(php_stream_wrapper *wrapper, const cha
231
231
}
232
232
}
233
233
if (opened_path ) {
234
- * opened_path = zend_strpprintf (MAXPATHLEN , "phar://%s/%s" , idata -> phar -> fname , idata -> internal_file -> filename );
234
+ * opened_path = strpprintf (MAXPATHLEN , "phar://%s/%s" , idata -> phar -> fname , idata -> internal_file -> filename );
235
235
}
236
236
return fpf ;
237
237
} else {
@@ -249,7 +249,7 @@ static php_stream * phar_wrapper_open_url(php_stream_wrapper *wrapper, const cha
249
249
}
250
250
efree (internal_file );
251
251
if (opened_path ) {
252
- * opened_path = zend_strpprintf (MAXPATHLEN , "%s" , phar -> fname );
252
+ * opened_path = strpprintf (MAXPATHLEN , "%s" , phar -> fname );
253
253
}
254
254
php_url_free (resource );
255
255
goto phar_stub ;
@@ -275,7 +275,7 @@ static php_stream * phar_wrapper_open_url(php_stream_wrapper *wrapper, const cha
275
275
++ (entry -> fp_refcount );
276
276
php_url_free (resource );
277
277
if (opened_path ) {
278
- * opened_path = zend_strpprintf (MAXPATHLEN , "%s" , phar -> fname );
278
+ * opened_path = strpprintf (MAXPATHLEN , "%s" , phar -> fname );
279
279
}
280
280
efree (internal_file );
281
281
goto phar_stub ;
@@ -332,7 +332,7 @@ static php_stream * phar_wrapper_open_url(php_stream_wrapper *wrapper, const cha
332
332
}
333
333
}
334
334
if (opened_path ) {
335
- * opened_path = zend_strpprintf (MAXPATHLEN , "phar://%s/%s" , idata -> phar -> fname , idata -> internal_file -> filename );
335
+ * opened_path = strpprintf (MAXPATHLEN , "phar://%s/%s" , idata -> phar -> fname , idata -> internal_file -> filename );
336
336
}
337
337
efree (internal_file );
338
338
phar_stub :
0 commit comments