]> git.pld-linux.org Git - packages/rpm.git/blame - missing-ghost-terminate-build.patch
rename FORCE_RPMRC_GNU->APPEND_TARGET_ABI to better express intention
[packages/rpm.git] / missing-ghost-terminate-build.patch
CommitLineData
4401c439
JR
1--- rpm-4.16.0/build/files.c~ 2020-12-18 19:15:59.000000000 +0100
2+++ rpm-4.16.0/build/files.c 2020-12-18 19:34:33.456509321 +0100
3@@ -1401,7 +1401,6 @@
4 * various cases, preserving historical behavior wrt %dev():
5 * - for %dev() entries we fake it up whether the file exists or not
6 * - otherwise try to grab the data by lstat()
7- * - %ghost entries might not exist, fake it up
8 */
9 if (statp == NULL) {
10 memset(&statbuf, 0, sizeof(statbuf));
11@@ -1410,8 +1409,6 @@
12 statp = fakeStat(&(fl->cur), &statbuf);
13 } else if (lstat(diskPath, &statbuf) == 0) {
14 statp = &statbuf;
15- } else if (fl->cur.attrFlags & RPMFILE_GHOST) {
16- statp = fakeStat(&(fl->cur), &statbuf);
17 } else {
18 int lvl = RPMLOG_ERR;
19 int ignore = 0;
This page took 0.023541 seconds and 4 git commands to generate.