Lines Matching full:curr_prefix
90 static char *curr_prefix;
105 /* Optimization: if orig_prefix and curr_prefix are equal, the
123 curr_prefix = memory;
128 curr_prefix = NULL;
254 char *curr_prefix;
256 curr_prefix = (char *) xmalloc (curr_prefix_len + 1);
258 if (curr_prefix == NULL)
261 memcpy (curr_prefix, curr_installdir, curr_prefix_len);
262 curr_prefix[curr_prefix_len] = '\0';
264 return curr_prefix;
384 /* At this point, orig_prefix and curr_prefix likely have already been
390 to curr_prefix, 2. unlike the program, it has not moved away from
400 curr_prefix_better = curr_prefix;
412 if (orig_prefix != NULL && curr_prefix != NULL
417 return curr_prefix;
429 memcpy (result, curr_prefix, curr_prefix_len);