Lines Matching defs:curr_prefix
93 static char *curr_prefix;
108 /* Optimization: if orig_prefix and curr_prefix are equal, the
126 curr_prefix = memory;
131 curr_prefix = NULL;
266 char *curr_prefix;
268 curr_prefix = (char *) xmalloc (curr_prefix_len + 1);
270 if (curr_prefix == NULL)
276 memcpy (curr_prefix, curr_installdir, curr_prefix_len);
277 curr_prefix[curr_prefix_len] = '\0';
281 return curr_prefix;
424 /* At this point, orig_prefix and curr_prefix likely have already been
430 to curr_prefix, 2. unlike the program, it has not moved away from
443 : curr_prefix);
456 if (orig_prefix != NULL && curr_prefix != NULL
462 char *result = (char *) xmalloc (strlen (curr_prefix) + 1);
468 strcpy (result, curr_prefix);
483 memcpy (result, curr_prefix, curr_prefix_len);