Home
last modified time | relevance | path

Searched refs:home_dir (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/host-tools/make-3.81/glob/
Dglob.c618 const char *home_dir = getenv ("SYS$LOGIN"); local
620 const char *home_dir = getenv ("HOME");
623 if (home_dir == NULL || home_dir[0] == '\0')
624 home_dir = "SYS:";
627 if (home_dir == NULL || home_dir[0] == '\0')
628 home_dir = "c:/users/default"; /* poor default */
632 if (home_dir == NULL || home_dir[0] == '\0')
633 home_dir = "SYS$DISK:[]";
635 if (home_dir == NULL || home_dir[0] == '\0')
683 home_dir = p->pw_dir;
[all …]
/ndk/sources/host-tools/make-3.81/
Dread.c2941 char *home_dir; in tilde_expand() local
2949 home_dir = allocated_variable_expand ("$(HOME)"); in tilde_expand()
2954 is_variable = home_dir[0] != '\0'; in tilde_expand()
2957 free (home_dir); in tilde_expand()
2958 home_dir = getenv ("HOME"); in tilde_expand()
2961 if (home_dir == 0 || home_dir[0] == '\0') in tilde_expand()
2965 home_dir = 0; in tilde_expand()
2970 home_dir = p->pw_dir; in tilde_expand()
2974 if (home_dir != 0) in tilde_expand()
2976 char *new = concat (home_dir, "", name + 1); in tilde_expand()
[all …]