Searched refs:home_dir (Results 1 – 2 of 2) sorted by relevance
618 const char *home_dir = getenv ("SYS$LOGIN"); local620 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 …]
2941 char *home_dir; in tilde_expand() local2949 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 …]