* [gentoo-commits] portage r9801 - main/branches/prefix/src
@ 2008-04-10 12:53 Fabian Groffen (grobian)
0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2008-04-10 12:53 UTC (permalink / raw
To: gentoo-commits
Author: grobian
Date: 2008-04-10 12:53:50 +0000 (Thu, 10 Apr 2008)
New Revision: 9801
Modified:
main/branches/prefix/src/chpathtool.c
Log:
Fix a bug where hard links would cause imaginary paths due to not properly cleaning up
Modified: main/branches/prefix/src/chpathtool.c
===================================================================
--- main/branches/prefix/src/chpathtool.c 2008-04-10 09:11:56 UTC (rev 9800)
+++ main/branches/prefix/src/chpathtool.c 2008-04-10 12:53:50 UTC (rev 9801)
@@ -281,7 +281,10 @@
hl->next = NULL;
} else {
/* don't "copy" the file, we already made a hard
- * link to it */
+ * link to it, just restore modified path */
+ st = srcp;
+ tt = trgp;
+ *st = *tt = '\0';
continue;
}
}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-10 12:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10 12:53 [gentoo-commits] portage r9801 - main/branches/prefix/src Fabian Groffen (grobian)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox