Searched refs:pwdir (Results 1 – 2 of 2) sorted by relevance
793 char *pwdir; in history_write() local795 pwdir = get_homedir (); in history_write()797 if (pwdir != NULL) in history_write()800 i = strlen (pwdir); in history_write()801 if (!strncmp (CurDir, pwdir, i)) in history_write()815 if (CVS_CHDIR (pwdir) < 0 || (homedir = xgetcwd ()) == NULL) in history_write()816 homedir = pwdir; in history_write()831 if (homedir != pwdir) in history_write()
1216 char *pwdir = NULL, *pwname = NULL; in load_public_identity_files() local1248 pwdir = xstrdup(pw->pw_dir); in load_public_identity_files()1255 filename = percent_expand(cp, "d", pwdir, in load_public_identity_files()1268 bzero(pwdir, strlen(pwdir)); in load_public_identity_files()1269 xfree(pwdir); in load_public_identity_files()