From c448cb165cb2e8b9e353a9af78f81fac54809972 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sun, 12 Oct 2008 19:40:30 +0000 Subject: MFB: add tests for copy-on-write support - fix metadata handling with cached phars - fix virtual_dirs with rmdir - ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data --- ext/phar/zip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/phar/zip.c') diff --git a/ext/phar/zip.c b/ext/phar/zip.c index 027fcdb665..891280eb6e 100644 --- a/ext/phar/zip.c +++ b/ext/phar/zip.c @@ -704,6 +704,7 @@ static int phar_zip_changed_apply(void *data, void *arg TSRMLS_DC) /* {{{ */ } } + phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); memset(&local, 0, sizeof(local)); memset(¢ral, 0, sizeof(central)); memset(&perms, 0, sizeof(perms)); -- cgit v1.2.1