Lines Matching refs:file_name
121 char *file_name;
123 /* Concatenate dir and base into freshly allocated file_name. */
128 file_name = (char *) malloc (dir_len + add_slash + base_len + 1);
129 if (file_name != NULL)
131 memcpy (file_name, dir, dir_len);
133 file_name[dir_len] = DIRECTORY_SEPARATOR;
134 memcpy (file_name + dir_len + add_slash, base, base_len + 1);
138 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL)
202 free (file_name);