Lines Matching refs:dir_file
62 char* dir_file; /* Used to construct "file.dir". */
69 dir_file = (char *) malloc (strlen (file)+5);
70 if ((pag_file == NULL) || (dir_file == NULL))
78 strcpy (dir_file, file);
79 strcat (dir_file, ".dir");
110 if (stat (dir_file, &dir_stat) == 0)
113 if (unlink (dir_file) != 0 || link (pag_file, dir_file) != 0)
124 to link the dir_file to the pag_file. */
125 if (link (pag_file, dir_file) != 0)
136 free (dir_file);