[BACK]Return to patch-ad CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / elvis / patches

File: [cvs.NetBSD.org] / pkgsrc / editors / elvis / patches / patch-ad (download)

Revision 1.2, Tue Dec 29 04:22:33 2015 UTC (4 years, 11 months ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, HEAD
Changes since 1.1: +4 -1 lines

Add patch comments.

$NetBSD: patch-ad,v 1.2 2015/12/29 04:22:33 dholland Exp $

Don't sync on Interix. (XXX: shouldn't sync the whole system even not
on Interix. How about using fsync?)

--- osunix/osblock.c.orig	2003-10-20 22:32:26.000000000 -0400
+++ osunix/osblock.c
@@ -293,5 +293,7 @@ void blksync()
 		return;
 #endif
 
+#ifndef __INTERIX
 	sync();
+#endif
 }