Home
last modified time | relevance | path

Searched refs:m4_path (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/bsd/flex/dist/src/
H A Dmain.c367 char *m4_path = calloc(endOfDir-path + 1 + m4_length + 1, 1); in check_options() local
369 memcpy(m4_path, path, endOfDir-path); in check_options()
370 m4_path[endOfDir-path] = '/'; in check_options()
371 memcpy(m4_path + (endOfDir-path) + 1, m4, m4_length + 1); in check_options()
372 if (stat(m4_path, &sbuf) == 0 && in check_options()
374 m4 = m4_path; in check_options()
377 free(m4_path); in check_options()
/netbsd-src/external/bsd/flex/dist/
H A DChangeLog742 strncat(m4_path, m4, sizeof(m4_path));
745 … destination buffer minus the terminating null byte strncat(m4_path,
746 m4, sizeof(m4_path)); ^~~~~~~~~~~~~~~
747 …sizeof(m4_path) - strlen(m4_path) - 1Fix it up by using the solution proposed by the warning messa…