projects
/
platform
/
upstream
/
rpm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to 4.11.0.1
[platform/upstream/rpm.git]
/
lib
/
legacy.c
diff --git
a/lib/legacy.c
b/lib/legacy.c
index
9765d27
..
422c2b0
100644
(file)
--- a/
lib/legacy.c
+++ b/
lib/legacy.c
@@
-26,7
+26,7
@@
static void compressFilelist(Header h)
const char ** baseNames;
uint32_t * dirIndexes;
rpm_count_t count;
const char ** baseNames;
uint32_t * dirIndexes;
rpm_count_t count;
- int
xx,
i;
+ int i;
int dirIndex = -1;
/*
int dirIndex = -1;
/*
@@
-36,7
+36,7
@@
static void compressFilelist(Header h)
*/
if (headerIsEntry(h, RPMTAG_DIRNAMES)) {
*/
if (headerIsEntry(h, RPMTAG_DIRNAMES)) {
-
xx =
headerDel(h, RPMTAG_OLDFILENAMES);
+ headerDel(h, RPMTAG_OLDFILENAMES);
return; /* Already converted. */
}
return; /* Already converted. */
}
@@
-112,7
+112,7
@@
exit:
free(baseNames);
free(dirIndexes);
free(baseNames);
free(dirIndexes);
-
xx =
headerDel(h, RPMTAG_OLDFILENAMES);
+ headerDel(h, RPMTAG_OLDFILENAMES);
}
static void expandFilelist(Header h)
}
static void expandFilelist(Header h)
@@
-207,7
+207,7
@@
static void legacyRetrofit(Header h)
}
}
}
}
-int headerConvert(Header h,
headerConvOps
op)
+int headerConvert(Header h,
int
op)
{
int rc = 1;
{
int rc = 1;