Using sync() on unpack causes _all_ filesystems to be sync'd, which is
not so great when one of those is a thumb drive, mounted over a
network, or otherwise slow. Remove the sync-instead-of-fsync codepath
to simplify maintenance.
diff --git a/configure.ac b/configure.ac
index b5d9df3..96c6c5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,7 +77,6 @@ DPKG_DECL_SYS_SIGLIST
# Checks for library functions.
DPKG_FUNC_VA_COPY
DPKG_FUNC_C99_SNPRINTF
-DPKG_FUNC_SYNC_SYNC
DPKG_CHECK_DECL([offsetof], [stddef.h])
DPKG_CHECK_DECL([WCOREDUMP], [sys/wait.h])
DPKG_CHECK_DECL([TIOCNOTTY], [sys/ioctl.h])
diff --git a/debian/changelog b/debian/changelog
index 33f9454..e309591 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,10 @@ dpkg (1.16.0) UNRELEASED; urgency=low
Thanks to Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> who wrote it
as part of the Google Code In program.
+ [ Jonathan Nieder ]
+ * Remove support for use of synchronous sync(2), as it is too much
+ trouble to maintain.
+
[ Updated programs translations ]
* Swedish (Peter Krefting).
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101127213810.GB26283@burratino">http://lists.debian.org/20101127213810.GB26283@burratino