Remove fdatasync(2) patch.

This commit is contained in:
ajacoutot 2013-04-15 16:50:14 +00:00
parent 37664c57c8
commit 674a120d87
2 changed files with 2 additions and 15 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.44 2013/03/30 12:20:28 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.45 2013/04/15 16:50:14 ajacoutot Exp $
COMMENT= framework for granting privileged operations to users
DISTNAME= polkit-0.110
REVISION= 1
REVISION= 2
SHARED_LIBS += polkit-gobject-1 2.0 # .0.0
SHARED_LIBS += polkit-agent-1 2.0 # .0.0

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-src_polkitagent_polkitagenthelperprivate_c,v 1.2 2011/04/28 13:09:07 ajacoutot Exp $
--- src/polkitagent/polkitagenthelperprivate.c.orig Wed Apr 27 16:58:05 2011
+++ src/polkitagent/polkitagenthelperprivate.c Wed Apr 27 16:58:18 2011
@@ -103,7 +103,7 @@ flush_and_wait ()
{
fflush (stdout);
fflush (stderr);
- fdatasync (fileno(stdout));
- fdatasync (fileno(stderr));
+ fsync (fileno(stdout));
+ fsync (fileno(stderr));
usleep (100 * 1000);
}