@@ -319,7 +319,7 @@ static php_stream *phar_make_dirstream(char *dir, HashTable *manifest TSRMLS_DC)
319
319
/**
320
320
* Open a directory handle within a phar archive
321
321
*/
322
- php_stream * phar_wrapper_open_dir (php_stream_wrapper * wrapper , char * path , char * mode , int options , char * * opened_path , php_stream_context * context STREAMS_DC TSRMLS_DC ) /* {{{ */
322
+ php_stream * phar_wrapper_open_dir (php_stream_wrapper * wrapper , const char * path , const char * mode , int options , char * * opened_path , php_stream_context * context STREAMS_DC TSRMLS_DC ) /* {{{ */
323
323
{
324
324
php_url * resource = NULL ;
325
325
php_stream * ret ;
@@ -432,7 +432,7 @@ php_stream *phar_wrapper_open_dir(php_stream_wrapper *wrapper, char *path, char
432
432
/**
433
433
* Make a new directory within a phar archive
434
434
*/
435
- int phar_wrapper_mkdir (php_stream_wrapper * wrapper , char * url_from , int mode , int options , php_stream_context * context TSRMLS_DC ) /* {{{ */
435
+ int phar_wrapper_mkdir (php_stream_wrapper * wrapper , const char * url_from , int mode , int options , php_stream_context * context TSRMLS_DC ) /* {{{ */
436
436
{
437
437
phar_entry_info entry , * e ;
438
438
phar_archive_data * phar = NULL ;
@@ -564,7 +564,7 @@ int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, in
564
564
/**
565
565
* Remove a directory within a phar archive
566
566
*/
567
- int phar_wrapper_rmdir (php_stream_wrapper * wrapper , char * url , int options , php_stream_context * context TSRMLS_DC ) /* {{{ */
567
+ int phar_wrapper_rmdir (php_stream_wrapper * wrapper , const char * url , int options , php_stream_context * context TSRMLS_DC ) /* {{{ */
568
568
{
569
569
phar_entry_info * entry ;
570
570
phar_archive_data * phar = NULL ;
0 commit comments