spprintf(p->error,0,"unable to write local file header of file \"%s\" to zip-based phar \"%s\"",entry->filename,entry->phar->fname);
returnZEND_HASH_APPLY_STOP;
@ -558,13 +558,32 @@ continue_dir:
spprintf(p->error,0,"unable to write central directory entry for file \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);
spprintf(p->error,0,"unable to write filename to local directory entry for file \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);
spprintf(p->error,0,"unable to write filename to central directory entry for file \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);
spprintf(p->error,0,"unable to write filename to local directory entry for directory \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);
returnZEND_HASH_APPLY_STOP;
}
if(1!=php_stream_write(p->filefp,"/",1)){
spprintf(p->error,0,"unable to write filename to local directory entry for directory \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);
spprintf(p->error,0,"unable to write filename to central directory entry for directory \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);
returnZEND_HASH_APPLY_STOP;
}
if(1!=php_stream_write(p->centralfp,"/",1)){
spprintf(p->error,0,"unable to write filename to central directory entry for directory \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);
spprintf(p->error,0,"unable to write filename to local directory entry for file \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);
spprintf(p->error,0,"unable to write filename to central directory entry for file \"%s\" while creating zip-based phar \"%s\"",entry->filename,entry->phar->fname);