Lines Matching refs:fullpath

4190 	char *fullpath, *slash;  local
4202 len = spprintf(&fullpath, 0, "%s/%s", dest, entry->filename);
4207 fullpath[50] = '\0';
4210 …not extract \"%s...\" to \"%s...\", extracted filename is too long for filesystem", tmp, fullpath);
4213 …ct \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath);
4215 efree(fullpath);
4221 efree(fullpath);
4225 if (PHAR_OPENBASEDIR_CHECKPATH(fullpath)) {
4226 …xtract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath);
4227 efree(fullpath);
4232 if (!overwrite && SUCCESS == php_stream_stat_path(fullpath, &ssb)) {
4233 …tf(error, 4096, "Cannot extract \"%s\" to \"%s\", path already exists", entry->filename, fullpath);
4234 efree(fullpath);
4242 fullpath[dest_len + (slash - entry->filename) + 1] = '\0';
4244 fullpath[dest_len] = '\0';
4247 if (FAILURE == php_stream_stat_path(fullpath, &ssb)) {
4249 …if (!php_stream_mkdir(fullpath, entry->flags & PHAR_ENT_PERM_MASK, PHP_STREAM_MKDIR_RECURSIVE, NU…
4250 …rror, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath);
4251 efree(fullpath);
4255 if (!php_stream_mkdir(fullpath, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL)) {
4256 …rror, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath);
4257 efree(fullpath);
4264 fullpath[dest_len + (slash - entry->filename) + 1] = '/';
4266 fullpath[dest_len] = '/';
4271 efree(fullpath);
4276 fp = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
4278 fp = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL);
4282 …rror, 4096, "Cannot extract \"%s\", could not open for writing \"%s\"", entry->filename, fullpath);
4283 efree(fullpath);
4290 …ct \"%s\" to \"%s\", unable to open internal file pointer: %s", entry->filename, fullpath, *error);
4292 …Cannot extract \"%s\" to \"%s\", unable to open internal file pointer", entry->filename, fullpath);
4294 efree(fullpath);
4301 …Cannot extract \"%s\" to \"%s\", unable to seek internal file pointer", entry->filename, fullpath);
4302 efree(fullpath);
4308 …rror, 4096, "Cannot extract \"%s\" to \"%s\", copying contents failed", entry->filename, fullpath);
4309 efree(fullpath);
4317 if (FAILURE == VCWD_CHMOD(fullpath, mode)) {
4318 …96, "Cannot extract \"%s\" to \"%s\", setting file permissions failed", entry->filename, fullpath);
4319 efree(fullpath);
4323 efree(fullpath);