Lines Matching refs:dirpath
2129 copy_stdin(char **dirpath)
2138 *dirpath = xmalloc(strlen(tmp) + 12);
2140 strcpy(*dirpath, tmp);
2141 strcat(*dirpath, "/diffXXXXXX");
2142 if (MY_MKDTEMP(*dirpath) != 0) {
2143 result = xmalloc(strlen(*dirpath) + 10);
2144 sprintf(result, "%s/stdin", *dirpath);
2154 rmdir(*dirpath); /* Assume that the /stdin file was not created */
2155 free(*dirpath);
2156 *dirpath = 0;
2159 free(*dirpath);
2160 *dirpath = 0;