Home | History | Annotate | Download | only in bdist_wininst

Lines Matching defs:pathname

29 BOOL ensure_directory(char *pathname, char *new_part, NOTIFYPROC notify)
34 attr = GetFileAttributes(pathname);
37 if (!CreateDirectory(pathname, NULL) && notify)
39 "CreateDirectory (%s)", pathname);
41 notify(DIR_CREATED, pathname);
49 "CreateDirectory (%s)", pathname);
207 char pathname[MAX_PATH];
253 strcpy(pathname, dirname);
254 if (pathname[strlen(pathname)-1] != '\\')
255 strcat(pathname, "\\");
256 new_part = &pathname[lstrlen(pathname)];
257 /* we must now match the first part of the pathname
271 strcat(pathname, scheme[i].prefix);
276 if ((pathname[strlen(pathname)-1] != '\\')
277 && (pathname[strlen(pathname)-1] != '/'))
278 strcat(pathname, "\\");
279 /* Now that pathname ends with a separator,
288 strncat(pathname, rest, len);
293 strncat(pathname, fname, pfhdr->fname_length);
295 normpath(pathname);
296 if (pathname[strlen(pathname)-1] != '\\') {
304 dst = map_new_file(0, pathname, new_part,