diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-08-06 15:53:50 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-08-06 15:53:50 +0200 |
commit | 700616ab8792227768cd73aa28eb69b8010ac90a (patch) | |
tree | 9630cb40d10e13708d724f49cc14787cc86a9a94 /apt-pkg/contrib/fileutl.cc | |
parent | b9c917bd62e7b1eb227d4f3a7321559ddb96e494 (diff) | |
parent | 4caf8231804dfce5a1a58a56dfe4df21a31be363 (diff) |
merged from david
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index 119cd1974..90e49cbfa 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -1748,13 +1748,11 @@ bool FileFd::Close() /* */ bool FileFd::Sync() { -#ifdef _POSIX_SYNCHRONIZED_IO if (fsync(iFd) != 0) { Flags |= Fail; return _error->Errno("sync",_("Problem syncing the file")); } -#endif return true; } /*}}}*/ |