]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- jbj: perform fsync(2) before closing installed file.
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 7 Apr 2008 19:50:07 +0000 (19:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  will solve xfs ENOSPC errors on fast machines with relatively small partitions

Changed files:
    rpm-rpm5-patchset-7657.patch -> 1.1.2.1

rpm-rpm5-patchset-7657.patch [new file with mode: 0644]

diff --git a/rpm-rpm5-patchset-7657.patch b/rpm-rpm5-patchset-7657.patch
new file mode 100644 (file)
index 0000000..a34ed0b
--- /dev/null
@@ -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);
+ /*@=noeffect@*/
+           fsm->rdbuf = rdbuf;
+-      }
++      } else
+ /*@=branchstate@*/
++#else
++          xx = fsync(Fileno(fsm->rfd));
+ #endif
+     }
This page took 0.03623 seconds and 4 git commands to generate.