Lines Matching refs:mapfile
1863 char mapfile[sizeof(MAPDIR) + sizeof(MAPFILE) + 6];
1866 char *mapfile;
1898 strcpy(mapfile,"x:\\" MAPDIR "\\" MAPFILE);
1900 mapfile[0] = usermap_path[0];
1903 mapfile[0] = currpath[0];
1905 fd = open(mapfile,O_RDONLY);
1908 mapfile = (char*)malloc(MAXFILENAME);
1909 if (mapfile) {
1913 && getcwd(mapfile,MAXFILENAME)) {
1914 strcat(mapfile,"/");
1915 strcat(mapfile,usermap_path);
1917 strcpy(mapfile,usermap_path);
1919 p = ntfs_realpath(usermap_path, mapfile);
1921 p = strrchr(mapfile,'/');
1925 fd = open(mapfile,O_RDONLY);
1928 p = strrchr(mapfile,'/');
1929 if (p == mapfile)
1933 free(mapfile);