Files
tqma6-yocto-mirror/sources/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-hardlink.patch
Siggi (OpenClaw Agent) 16accb6b24 Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved)
- Complete sources/ directory with all BitBake recipes
- Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl)
- Full traceability for Softwarefreigabeantrag
- GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4
- License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
2026-03-01 21:14:11 +00:00

26 lines
857 B
Diff

Upstream-Status: Inappropriate [1]
[1] Not the author, the patch is from:
http://vault.centos.org/5.8/os/SRPMS/rdist-6.1.5-44.src.rpm
--- rdist-6.1.5/src/client.c.hardlink Thu Jun 3 13:56:31 1999
+++ rdist-6.1.5/src/client.c Thu Jun 3 14:00:06 1999
@@ -348,7 +348,7 @@
lp->target = strdup(Tdest);
else
lp->target = NULL;
- if (!lp->pathname || !lp->src || !(Tdest && lp->target))
+ if (!lp->pathname || !lp->src || (Tdest && !lp->target))
fatalerr("Cannot malloc memory in linkinfo.");
return((struct linkbuf *) NULL);
@@ -370,7 +370,7 @@
"sendhardlink: rname='%s' pathname='%s' src='%s' target='%s'\n",
rname, lp->pathname, lp->src, lp->target);
- if (*lp->target == CNULL)
+ if (lp->target == NULL || *lp->target == CNULL)
(void) sendcmd(C_RECVHARDLINK, "%o %s %s",
opts, lp->pathname, rname);
else {