]> git.pld-linux.org Git - packages/rpm.git/blob - missing-ghost-terminate-build.patch
append abi in target platform on %{arm}
[packages/rpm.git] / missing-ghost-terminate-build.patch
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.029343 seconds and 3 git commands to generate.