Searched refs:needed_len (Results 1 – 1 of 1) sorted by relevance
234 int needed_len; in make_relative_prefix_1() local363 needed_len = 0; in make_relative_prefix_1()365 needed_len += strlen (prog_dirs[i]); in make_relative_prefix_1()366 needed_len += sizeof (DIR_UP) * (bin_num - common); in make_relative_prefix_1()368 needed_len += strlen (prefix_dirs[i]); in make_relative_prefix_1()369 needed_len += 1; /* Trailing NUL. */ in make_relative_prefix_1()371 ret = (char *) malloc (needed_len); in make_relative_prefix_1()