Forgot to cvs add.

This commit is contained in:
ajacoutot 2013-10-15 08:12:07 +00:00
parent d608ddf144
commit f9beabe548

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_vteutils_c,v 1.1 2013/10/15 08:12:07 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=710165
--- src/vteutils.c.orig Tue Oct 15 09:25:58 2013
+++ src/vteutils.c Tue Oct 15 09:29:32 2013
@@ -63,7 +63,11 @@ _vte_mkstemp (void)
unlink (file_name);
g_free (file_name);
+#ifdef O_NOATIME
do { } while (fcntl (fd, F_SETFL, O_NOATIME) == -1 && errno == EINTR);
+#else
+ do { } while (fcntl (fd, F_SETFL) == -1 && errno == EINTR);
+#endif
#ifdef O_TMPFILE
done: