Searched refs:binary_location (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/main/
H A Dphp_ini.c492 char *separator_location, *binary_location; local
494 binary_location = estrdup(PG(php_binary));
495 separator_location = strrchr(binary_location, DEFAULT_SLASH);
497 if (separator_location && separator_location != binary_location) {
503 strlcat(php_ini_search_path, binary_location, search_path_size);
504 efree(binary_location);
H A Dmain.c239 char *binary_location; local
241 binary_location = (char *)malloc(MAXPATHLEN);
242 if (GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) {
243 free(binary_location);
248 binary_location = (char *)malloc(MAXPATHLEN);
263 if (VCWD_REALPATH(search_path, binary_location) && !VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) {
272 free(binary_location);
273 binary_location
[all...]

Completed in 4 milliseconds