Lines Matching refs:fullpath

4200 	char *fullpath;  local
4247 len = spprintf(&fullpath, 0, "%s/%s", dest, filename);
4252 fullpath[50] = '\0';
4255 …not extract \"%s...\" to \"%s...\", extracted filename is too long for filesystem", tmp, fullpath);
4258 …ct \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath);
4260 efree(fullpath);
4267 efree(fullpath);
4272 if (PHAR_OPENBASEDIR_CHECKPATH(fullpath)) {
4273 …xtract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath);
4274 efree(fullpath);
4280 if (!overwrite && SUCCESS == php_stream_stat_path(fullpath, &ssb)) {
4281 …tf(error, 4096, "Cannot extract \"%s\" to \"%s\", path already exists", entry->filename, fullpath);
4282 efree(fullpath);
4291 fullpath[dest_len + (slash - filename) + 1] = '\0';
4293 fullpath[dest_len] = '\0';
4296 if (FAILURE == php_stream_stat_path(fullpath, &ssb)) {
4298 …if (!php_stream_mkdir(fullpath, entry->flags & PHAR_ENT_PERM_MASK, PHP_STREAM_MKDIR_RECURSIVE, NU…
4299 …rror, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath);
4300 efree(fullpath);
4305 if (!php_stream_mkdir(fullpath, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL)) {
4306 …rror, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath);
4307 efree(fullpath);
4315 fullpath[dest_len + (slash - filename) + 1] = '/';
4317 fullpath[dest_len] = '/';
4324 efree(fullpath);
4329 fp = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
4331 fp = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL);
4335 …rror, 4096, "Cannot extract \"%s\", could not open for writing \"%s\"", entry->filename, fullpath);
4336 efree(fullpath);
4343 …ct \"%s\" to \"%s\", unable to open internal file pointer: %s", entry->filename, fullpath, *error);
4345 …Cannot extract \"%s\" to \"%s\", unable to open internal file pointer", entry->filename, fullpath);
4347 efree(fullpath);
4354 …Cannot extract \"%s\" to \"%s\", unable to seek internal file pointer", entry->filename, fullpath);
4355 efree(fullpath);
4361 …rror, 4096, "Cannot extract \"%s\" to \"%s\", copying contents failed", entry->filename, fullpath);
4362 efree(fullpath);
4370 if (FAILURE == VCWD_CHMOD(fullpath, mode)) {
4371 …96, "Cannot extract \"%s\" to \"%s\", setting file permissions failed", entry->filename, fullpath);
4372 efree(fullpath);
4376 efree(fullpath);