Lines Matching defs:home
198 struct shared *home; /* directory for this event */
210 char *home; /* home directory for user */
949 u->home = xmalloc(strlen(pw->pw_dir) + 1);
950 (void) strcpy(u->home, pw->pw_dir);
957 if (u->home != NULL) {
958 if (strcmp(u->home, pw->pw_dir) != 0) {
959 free(u->home);
960 u->home = xmalloc(strlen(pw->pw_dir) + 1);
961 (void) strcpy(u->home, pw->pw_dir);
964 u->home = xmalloc(strlen(pw->pw_dir) + 1);
965 (void) strcpy(u->home, pw->pw_dir);
1053 u->home = xstrdup(pw->pw_dir);
1060 free(u->home);
1061 u->home = xstrdup(pw->pw_dir);
1135 struct shared *home = NULL;
1189 if (home == NULL ||
1190 strcmp(&line[cursor], get_obj(home))) {
1191 rel_shared(home);
1192 home = create_shared_str(
1256 /* set the home of this entry */
1257 e->of.ct.home = dup_shared(home);
1285 rel_shared(home);
2071 free(u->home);
2144 rel_shared(e2->of.ct.home);
2204 char *home;
2514 if (e->etype == CRONEVENT && e->of.ct.home != NULL) {
2515 home = (char *)get_obj(e->of.ct.home);
2517 home = (e->u)->home;
2519 (void) strlcat(homedir, home, sizeof (homedir));
2522 if (chdir(home) == -1) {
2523 snprintf(bufs.error, sizeof (bufs.error), CANTCDHOME, home);
3221 if (u->home != NULL) {
3222 if (strcmp(u->home, pw->pw_dir) != 0) {
3223 free(u->home);
3224 u->home = xmalloc(strlen(pw->pw_dir) + 1);
3225 (void) strcpy(u->home, pw->pw_dir);
3228 u->home = xmalloc(strlen(pw->pw_dir) + 1);
3229 (void) strcpy(u->home, pw->pw_dir);