]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-symlinks.patch
- fix symlinks processing during install.
[packages/rpm.git] / rpm-symlinks.patch
CommitLineData
646c1035
PS
1From: Jeff Johnson <n3npq@mac.com>
2Subject: Re: rpm-4.4.4 fails to install symlinks marked with unsupported %lang.
3Date: Tue, 21 Feb 2006 13:35:22 -0500
4To: pluto@pld-linux.org
5
6While refactoring symlink processing out of lib/fsm.c in order to
7handle tar (and other non-cpio) headers, the payload positioning
8broke with (in this case) a locale colored symlink that was supposed
9to not be installed.
10
11--- rpm/lib/fsm.c 20 Feb 2006 23:48:00 -0000 2.112.2.18
12+++ rpm/lib/fsm.c 21 Feb 2006 18:31:11 -0000
13@@ -1778,8 +1778,11 @@
14 break;
15 case FSM_PROCESS:
16 if (fsm->postpone) {
17- if (fsm->goal == FSM_PKGINSTALL)
18- rc = fsmNext(fsm, FSM_EAT);
19+ if (fsm->goal == FSM_PKGINSTALL) {
20+ /* XXX Skip over file body, archive headers already done. */
21+ if (S_ISREG(st->st_mode))
22+ rc = fsmNext(fsm, FSM_EAT);
23+ }
24 break;
25 }
26
27
28Fix will be in rpm-4.4.5.
29
30Thanks for the report.
31
3273 de Jeff
This page took 0.026612 seconds and 4 git commands to generate.