[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-dev
Subject:    [Gpsd-dev] shmTime structure mismatch
From:       Miroslav Lichvar <mlichvar () redhat ! com>
Date:       2007-08-21 11:49:29
Message-ID: 20070821114929.GF3698 () localhost
[Download RAW message or body]

Hi,

there is a mismatch between shmTime structure used in gpsd and ntpd,
please apply the following patch to match the structure with the
description at
http://www.eecis.udel.edu/~mills/ntp/html/drivers/driver28.html

Index: ntpshm.c
===================================================================
--- ntpshm.c	(revision 4411)
+++ ntpshm.c	(working copy)
@@ -41,7 +41,7 @@
     time_t clockTimeStampSec;
     int    clockTimeStampUSec;
     time_t receiveTimeStampSec;
-    long   receiveTimeStampUSec;
+    int    receiveTimeStampUSec;
     int    leap;
     int    precision;
     int    nsamples;


Thanks,

-- 
Miroslav Lichvar
_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpsd-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic