Blame rpm-4.4.2.2-no-targetreset.patch
|
Panu Matilainen |
3fd553 |
Don't reset target when reading included rpmrc's. Doesn't seem to break
|
|
Panu Matilainen |
3fd553 |
anything and fixes rhbz#232429...
|
|
Panu Matilainen |
3fd553 |
|
|
Panu Matilainen |
3fd553 |
diff -up rpm-4.4.2.2/lib/rpmrc.c.noreset rpm-4.4.2.2/lib/rpmrc.c
|
|
Panu Matilainen |
3fd553 |
--- rpm-4.4.2.2/lib/rpmrc.c.noreset 2008-01-11 10:30:12.000000000 +0200
|
|
Panu Matilainen |
3fd553 |
+++ rpm-4.4.2.2/lib/rpmrc.c 2008-01-11 10:15:27.000000000 +0200
|
|
Panu Matilainen |
3fd553 |
@@ -641,7 +641,9 @@ static int doReadRC( /*@killref@*/ FD_t
|
|
Panu Matilainen |
3fd553 |
while (*se && !xisspace(*se)) se++;
|
|
Panu Matilainen |
3fd553 |
if (*se != '\0') *se++ = '\0';
|
|
Panu Matilainen |
3fd553 |
|
|
Panu Matilainen |
3fd553 |
+#if 0
|
|
Panu Matilainen |
3fd553 |
rpmRebuildTargetVars(NULL, NULL);
|
|
Panu Matilainen |
3fd553 |
+#endif
|
|
Panu Matilainen |
3fd553 |
|
|
Panu Matilainen |
3fd553 |
fn = rpmGetPath(s, NULL);
|
|
Panu Matilainen |
3fd553 |
if (fn == NULL || *fn == '\0') {
|