From 4ef555df8055cf12f23530e18e3bfdd51d20e26f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Feb 2015 11:58:13 -0500 Subject: O_NONBLOCK was causing more grief than we knew. We don't need VTIME! All regression tests pass. --- serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'serial.c') diff --git a/serial.c b/serial.c index 9c4d4c7f..7a0e5483 100644 --- a/serial.c +++ b/serial.c @@ -533,7 +533,7 @@ int gpsd_serial_open(struct gps_device_t *session) &session->ttyset_old, sizeof(session->ttyset)); /*@ ignore @*/ memset(session->ttyset.c_cc, 0, sizeof(session->ttyset.c_cc)); - session->ttyset.c_cc[VTIME] = 1; + //session->ttyset.c_cc[VTIME] = 1; /*@ end @*/ /* * Tip from Chris Kuethe: the FIDI chip used in the Trip-Nav -- cgit v1.2.1