Index: read.c =================================================================== --- read.c (revision 30915) +++ read.c (revision 30916) @@ -1415,7 +1415,7 @@ /* create the file name for the padstacks */ strncpy(fn2, fn, PCB_PATH_MAX); fn2[PCB_PATH_MAX-1] = '\0'; - end = strrchr(fn2, PCB_DIR_SEPARATOR_C); + end = strrchr(fn2, RND_DIR_SEPARATOR_C); if (end == NULL) end = fn2; else