RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 21-Mar-2016 23:00:46 Branch: rpm-5_4 Handle: 2016032122004600 Modified files: (Branch: rpm-5_4) rpm/build files.c Log: - remove unused variable. Summary: Revision Changes Path 1.369.2.12 +6 -3 rpm/build/files.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/build/files.c ============================================================================ $ cvs diff -u -r1.369.2.11 -r1.369.2.12 files.c --- rpm/build/files.c 27 Feb 2016 21:39:47 -0000 1.369.2.11 +++ rpm/build/files.c 21 Mar 2016 22:00:46 -0000 1.369.2.12 @@ -1545,12 +1545,15 @@ he->append = 0; /* XXX Hash instead of 64b->32b truncate to prevent aliasing. */ - { ino_t _ino = flp->fl_ino; + { /* don't use hash here, as hash collisions which happen on large packages - cause bus errors in rpmbuild + cause bus errors in rpmbuild */ +#ifdef DYING /* XXX WTF: hashing ino_t from stat(2) _SHOULD_ work?!? */ + ino_t _ino = flp->fl_ino; ui32 = hashFunctionString(0, &_ino, sizeof(_ino)); - */ +#else ui32 = fileid + 1; +#endif } he->tag = RPMTAG_FILEINODES; he->t = RPM_UINT32_TYPE; @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org