Index: gsch2pcb-rnd/gsch2pcb.c =================================================================== --- gsch2pcb-rnd/gsch2pcb.c (revision 30941) +++ gsch2pcb-rnd/gsch2pcb.c (revision 30942) @@ -114,12 +114,12 @@ { char **n; n = gadl_new(&schematics); - *n = pcb_strdup(sch); + *n = rnd_strdup(sch); gadl_append(&schematics, n); if (!conf_g2pr.utils.gsch2pcb_rnd.sch_basename) { const char *suff = loc_str_has_suffix(sch, ".sch", 4); if (suff != NULL) { - char *tmp = pcb_strndup(sch, suff - sch); + char *tmp = rnd_strndup(sch, suff - sch); pcb_conf_set(CFR_CLI, "utils/gsch2pcb_rnd/sch_basename", -1, tmp, POL_OVERWRITE); free(tmp); } @@ -131,7 +131,7 @@ /* parse the string using shell semantics */ int count; char **args; - char *tmp = pcb_strdup(sch); + char *tmp = rnd_strdup(sch); count = qparse(tmp, &args); free(tmp); @@ -198,7 +198,7 @@ else if (!strcmp(config, "gnetlist")) { char **n; n = gadl_new(&extra_gnetlist_list); - *n = pcb_strdup(arg); + *n = rnd_strdup(arg); gadl_append(&extra_gnetlist_list, n); } else if (!strcmp(config, "empty-footprint")) @@ -326,7 +326,7 @@ else if (!strcmp(opt, "gnetlist-arg")) { char **n; n = gadl_new(&extra_gnetlist_arg_list); - *n = pcb_strdup(arg); + *n = rnd_strdup(arg); gadl_append(&extra_gnetlist_arg_list, n); i++; continue; Index: gsch2pcb-rnd/netlister.c =================================================================== --- gsch2pcb-rnd/netlister.c (revision 30941) +++ gsch2pcb-rnd/netlister.c (revision 30942) @@ -93,11 +93,11 @@ char *backend; if (!s2) { out_file = pcb_concat(basename, ".", s, NULL); - backend = pcb_strdup(s); + backend = rnd_strdup(s); } else { - out_file = pcb_strdup(s2 + 4); - backend = pcb_strndup(s, s2 - s); + out_file = rnd_strdup(s2 + 4); + backend = rnd_strndup(s, s2 - s); } if (!build_and_run_command("%s %s -g %s -o %s %L %L", Index: gsch2pcb-rnd/run.c =================================================================== --- gsch2pcb-rnd/run.c (revision 30941) +++ gsch2pcb-rnd/run.c (revision 30942) @@ -41,7 +41,7 @@ within a copy of the format string. The format string is copied so that these parts can be terminated by overwriting whitepsace with \0 */ va_start(vargs, format_); - format = pcb_strdup(format_); + format = rnd_strdup(format_); vts0_init(&args); for(s = start = format; *s != '\0'; s++) { /* if word separator is reached, save the previous word */