openbsd-ports/x11/gnome/gdm/patches/patch-daemon_gdm-net_c
jasper 0f80aa819a update gdm to 2.18.1
lots of help, and ok martynas@
2007-05-18 17:20:39 +00:00

13 lines
443 B
Plaintext

$OpenBSD: patch-daemon_gdm-net_c,v 1.4 2007/05/18 17:20:40 jasper Exp $
--- daemon/gdm-net.c.orig Sat Apr 21 13:29:27 2007
+++ daemon/gdm-net.c Sat Apr 21 13:29:48 2007
@@ -451,7 +451,7 @@ gdm_connection_open_fifo (const char *fifo, mode_t mod
return NULL;
}
- fd = open (fifo, O_RDWR); /* Open with write to avoid EOF */
+ fd = open (fifo, O_NONBLOCK|O_RDONLY);
if G_UNLIKELY (fd < 0) {
gdm_error (_("%s: Could not open FIFO"),