- cpanflute perl dependency needs explicit epoch (#37034).
- regenerate rpm.8 man page from docbook glop (in max-rpm).
- lib/depends.c: diddle debugging messages.
+ - fix: readlink return value clobbered by header write.
4.0 -> 4.0.[12]
- add doxygen and lclint annotations most everywhere.
struct stat * st = &fsm->sb;
struct stat * ost = &fsm->osb;
size_t pos = fdGetCpioPos(fsm->cfd);
+ char * symbuf = NULL;
int left;
int rc;
rc = fsmStage(fsm, FSM_READLINK);
if (rc) goto exit;
st->st_size = fsm->rdnb;
+ symbuf = alloca_strdup(fsm->rdbuf); /* XXX save readlink return. */
}
if (fsm->mapFlags & CPIO_MAP_ABSOLUTE) {
} else if (writeData && S_ISLNK(st->st_mode)) {
/* XXX DWRITE uses rdnb for I/O length. */
+ strcpy(fsm->rdbuf, symbuf); /* XXX restore readlink buffer. */
+ fsm->rdnb = strlen(symbuf);
rc = fsmStage(fsm, FSM_DWRITE);
if (rc) goto exit;
}