- fixes regression from commit
45e2d4e1d0260a9c07eb1daf0c68b82f602ad16f
- striplen was never set on build at all, and the psm part was unused
too - either unused since forever or possibly related to repackaging
fsm->dirName, fsm->baseName, NULL);
} else if (fsm->mapFlags & CPIO_MAP_PATH) {
rpmfi fi = fsmGetFi(fsm);
- int striplen = 1; /* strip leading / from archive paths */
- fsm->path = xstrdup((fi->apath ? fi->apath[fsm->ix] + striplen :
+ fsm->path = xstrdup((fi->apath ? fi->apath[fsm->ix] :
rpmfiBNIndex(fi, fsm->ix)));
}