Lines Matching refs:dir_file
53 char* dir_file; /* Used to construct "file.dir". */
62 dir_file = (char *) malloc (strlen (file)+5);
63 if ((pag_file == NULL) || (dir_file == NULL))
71 strcpy (dir_file, file);
72 strcat (dir_file, ".dir");
96 if (stat (dir_file, &dir_stat) == 0)
99 if (unlink (dir_file) != 0 || link (pag_file, dir_file) != 0)
110 to link the dir_file to the pag_file. */
111 if (link (pag_file, dir_file) != 0)
123 free (dir_file);