diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-07-02 17:19:03 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-07-02 17:19:03 +0300 |
commit | cf3069b4d9a2d872737d93d3aef1e32097f3f3e6 (patch) | |
tree | 6f84cfa88e0d0cbca20811fdbe9f3e4ac5a2d0ba /build | |
parent | 338f6e4cf76807744aac31016c9f357631bc7d86 (diff) | |
download | librpm-tizen-cf3069b4d9a2d872737d93d3aef1e32097f3f3e6.tar.gz librpm-tizen-cf3069b4d9a2d872737d93d3aef1e32097f3f3e6.tar.bz2 librpm-tizen-cf3069b4d9a2d872737d93d3aef1e32097f3f3e6.zip |
Also track large file presence for src.rpm's (RhBug:833427)
Diffstat (limited to 'build')
-rw-r--r-- | build/files.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/files.c b/build/files.c index 8affb9a80..b1420c7de 100644 --- a/build/files.c +++ b/build/files.c @@ -2002,6 +2002,9 @@ rpmRC processSourceFiles(rpmSpec spec, rpmBuildPkgFlags pkgFlags) rpmlog(RPMLOG_ERR, _("Bad file: %s: %s\n"), diskPath, strerror(errno)); fl.processingFailed = 1; + } else { + if (S_ISREG(flp->fl_mode) && flp->fl_size >= UINT32_MAX) + fl.largeFiles = 1; } if (fl.def.ar.ar_fmodestr) { |