Author: glen Date: Mon Apr 7 19:50:12 2008 GMT Module: SOURCES Tag: rpm-4_4_9 ---- Log message: - jbj: perform fsync(2) before closing installed file. will solve xfs ENOSPC errors on fast machines with relatively small partitions
---- Files affected: SOURCES: rpm-rpm5-patchset-7657.patch (NONE -> 1.1.2.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/rpm-rpm5-patchset-7657.patch diff -u /dev/null SOURCES/rpm-rpm5-patchset-7657.patch:1.1.2.1 --- /dev/null Mon Apr 7 21:50:12 2008 +++ SOURCES/rpm-rpm5-patchset-7657.patch Mon Apr 7 21:50:07 2008 @@ -0,0 +1,23 @@ +Index: rpm/CHANGES + 4.5 -> 5.0: ++ - jbj: perform fsync(2) before closing installed file. + - jbj: default RPMCANONCOLOR to 3 everywhere but ia64 and mips*. + - rse: remove now unused LIBDIR (--with-path-lib) from Autoconf and rename --with-path-usrlib to --with-path-lib + - jbj: hardwire _GetPass() to avoid --addsign (*Getpass) segfault for now. +Index: rpm/lib/fsm.c +RCS File: /v/rpm/cvs/rpm/lib/fsm.c,v +rcsdiff -q -kk '-r2.115' '-r2.116' -u '/v/rpm/cvs/rpm/lib/fsm.c,v' 2>/dev/null +--- lib/fsm.c 2007/06/21 12:13:29 2.115 ++++ lib/fsm.c 2007/07/09 23:18:17 2.116 +@@ -1043,8 +1043,10 @@ + xx = munmap(mapped, nmapped); + /[EMAIL PROTECTED]@*/ + fsm->rdbuf = rdbuf; +- } ++ } else + /[EMAIL PROTECTED]@*/ ++#else ++ xx = fsync(Fileno(fsm->rfd)); + #endif + + } ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
