summaryrefslogtreecommitdiffstats
path: root/rpminfo.c
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-10-19 12:29:15 +0200
committerRemi Collet <remi@php.net>2023-10-19 12:29:15 +0200
commitba8ff7f35e870a10bb0bd68b3ba0ec9ab43b8576 (patch)
tree0a38423c990da74801d436d30f5419c86f86e38b /rpminfo.c
parent50e5316d5a3cff209d9686340d0ffe47c422c762 (diff)
add symlink
Diffstat (limited to 'rpminfo.c')
-rw-r--r--rpminfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpminfo.c b/rpminfo.c
index adc7629..ab2ebf1 100644
--- a/rpminfo.c
+++ b/rpminfo.c
@@ -705,10 +705,10 @@ static struct php_rpm_stream_data_t *php_stream_rpm_finder(const char *path, int
while((rc = rpmfiNext(fi)) >=0) {
const char *fn = rpmfiFN(fi);
/*
- printf("Name=%s, Size=%d, N=%d, mode=%d, reg=%d, content=%d, rdev=%d, inode=%d\n", fn,
+ printf("Name=%s, Size=%d, N=%d, mode=%d, reg=%d, content=%d, rdev=%d, inode=%d link=%s\n", fn,
(int)rpmfiFSize(fi), (int)rpmfiFNlink(fi), (int)rpmfiFMode(fi),
(int)S_ISREG(rpmfiFMode(fi)), (int)rpmfiArchiveHasContent(fi),
- (int)rpmfiFRdev(fi), (int)rpmfiFInode(fi));
+ (int)rpmfiFRdev(fi), (int)rpmfiFInode(fi), rpmfiFLink(fi));
*/
if (!strcmp(fn, fragment)) {
if (want_content && S_ISREG(rpmfiFMode(fi)) && !rpmfiArchiveHasContent(fi)) {