From bea3751b6f09ba15864cb44a3584cc0af5e0dfe3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 18 Jan 2011 17:02:54 -0500 Subject: Stop making an assumption about the leap-second offset at startup. Gains: the stored leap-second offset we used for this could go stale, breaking our regression tests in the process - itr's just dumb luck that it hasn't since done so since 2008. Losses: If the receiver doesn't have leap-second cached in NVRAM (e.g, between cold boot and the next subframe message) time will be inaccurate by a few more seconds. 10 regression test outputs of 66 had to be rebuilt. --- test/daemon/bu303-nofix.log.chk | 42 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'test/daemon/bu303-nofix.log.chk') diff --git a/test/daemon/bu303-nofix.log.chk b/test/daemon/bu303-nofix.log.chk index d3e86a2b..cafb7bd0 100644 --- a/test/daemon/bu303-nofix.log.chk +++ b/test/daemon/bu303-nofix.log.chk @@ -1,28 +1,28 @@ -{"class":"SKY","tag":"MID4","time":1037284378.280} -$GPRMC,143258,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*1F +{"class":"SKY","tag":"MID4","time":1037284393.280} +$GPRMC,143313,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*11 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 -{"class":"TPV","tag":"MID2","time":1037284378.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1037284379.280} -$GPRMC,143259,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*1E +{"class":"TPV","tag":"MID2","time":1037284393.280,"ept":0.005,"mode":1} +{"class":"SKY","tag":"MID4","time":1037284394.280} +$GPRMC,143314,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*16 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 -{"class":"TPV","tag":"MID2","time":1037284379.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1037284380.280} -$GPRMC,143300,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*13 +{"class":"TPV","tag":"MID2","time":1037284394.280,"ept":0.005,"mode":1} +{"class":"SKY","tag":"MID4","time":1037284395.280} +$GPRMC,143315,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*17 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 -{"class":"TPV","tag":"MID2","time":1037284380.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1037284381.280} -$GPRMC,143301,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*12 +{"class":"TPV","tag":"MID2","time":1037284395.280,"ept":0.005,"mode":1} +{"class":"SKY","tag":"MID4","time":1037284396.280} +$GPRMC,143316,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*14 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 -{"class":"TPV","tag":"MID2","time":1037284381.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1037284382.280} -$GPRMC,143302,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*11 +{"class":"TPV","tag":"MID2","time":1037284396.280,"ept":0.005,"mode":1} +{"class":"SKY","tag":"MID4","time":1037284397.280} +$GPRMC,143317,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*15 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 -{"class":"TPV","tag":"MID2","time":1037284382.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1118327583.280} -$GPRMC,143303,V,18000.0000,N,00000.0000,W,0.0000,0.000,090605,,*1D +{"class":"TPV","tag":"MID2","time":1037284397.280,"ept":0.005,"mode":1} +{"class":"SKY","tag":"MID4","time":1118327598.280} +$GPRMC,143318,V,18000.0000,N,00000.0000,W,0.0000,0.000,090605,,*17 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 -{"class":"TPV","tag":"MID2","time":1118327583.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1118327584.280} -$GPRMC,143304,V,18000.0000,N,00000.0000,W,0.0000,0.000,090605,,*1A +{"class":"TPV","tag":"MID2","time":1118327598.280,"ept":0.005,"mode":1} +{"class":"SKY","tag":"MID4","time":1118327599.280} +$GPRMC,143319,V,18000.0000,N,00000.0000,W,0.0000,0.000,090605,,*16 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 -{"class":"TPV","tag":"MID2","time":1118327584.280,"ept":0.005,"mode":1} +{"class":"TPV","tag":"MID2","time":1118327599.280,"ept":0.005,"mode":1} -- cgit v1.2.1