Lines Matching refs:opened_path
100 char *opened_path; in php_do_open_temporary_file() local
141 if (spprintf(&opened_path, 0, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPATHLEN) { in php_do_open_temporary_file()
142 efree(opened_path); in php_do_open_temporary_file()
149 if (GetTempFileName(new_state.cwd, pfx, 0, opened_path)) { in php_do_open_temporary_file()
152 if (VCWD_CHMOD(opened_path, 0600)) { in php_do_open_temporary_file()
153 efree(opened_path); in php_do_open_temporary_file()
157 fd = VCWD_OPEN_MODE(opened_path, open_flags, 0600); in php_do_open_temporary_file()
161 fd = mkstemp(opened_path); in php_do_open_temporary_file()
163 if (mktemp(opened_path)) { in php_do_open_temporary_file()
164 fd = VCWD_OPEN(opened_path, open_flags); in php_do_open_temporary_file()
169 efree(opened_path); in php_do_open_temporary_file()
171 *opened_path_p = opened_path; in php_do_open_temporary_file()