Searched refs:m4_path (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/flex/src/ |
H A D | main.c | 364 char *m4_path = calloc(endOfDir-path + 1 + m4_length + 1, 1); in check_options() local 366 memcpy(m4_path, path, endOfDir-path); in check_options() 367 m4_path[endOfDir-path] = '/'; in check_options() 368 memcpy(m4_path + (endOfDir-path) + 1, m4, m4_length + 1); in check_options() 369 if (stat(m4_path, &sbuf) == 0 && in check_options() 371 m4 = m4_path; in check_options() 374 free(m4_path); in check_options()
|
/freebsd/contrib/flex/ |
H A D | ChangeLog | 742 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…
|