* /trunk/src/gpstools/poisync
[gpstools.git] / Patch / mayko-comments.patch
blob0db91108df96a6a9677cf19777342fae8d0e7218
1 Index: tests/run-tests.pl
2 ===================================================================
3 --- tests/run-tests.pl (revision 2020)
4 +++ tests/run-tests.pl (working copy)
5 @@ -488,9 +488,11 @@
6 <trkpt lat="70.6800486" lon="23.6746151"> <time>2002-12-22T21:42:24Z</time> </trkpt>
7 <trkpt lat="70.6799322" lon="23.6740038"> <time>2002-12-22T21:42:32Z</time> </trkpt>
8 <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:42:54Z</time> </trkpt>
9 + <!-- 20021222T214351-20021222T214354: CO: No signal \x7B\x7B\x7B -->
10 <!-- <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:51Z</time> <extensions> <error>desc</error> </extensions> </trkpt> -->
11 <!-- <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:52Z</time> <extensions> <error>desc</error> </extensions> </trkpt> -->
12 <!-- <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:54Z</time> <extensions> <error>desc</error> </extensions> </trkpt> -->
13 + <!-- 20021222T214351-20021222T214354: CO: No signal \x7D\x7D\x7D -->
14 <trkpt lat="70.6800774" lon="23.6757566"> <time>2002-12-22T21:44:45Z</time> </trkpt>
15 </trkseg>
16 <trkseg>
17 @@ -512,9 +514,11 @@
18 <trkpt lat="70.6800486" lon="23.6746151"><time>2002-12-22T21:42:24Z</time></trkpt>
19 <trkpt lat="70.6799322" lon="23.6740038"><time>2002-12-22T21:42:32Z</time></trkpt>
20 <trkpt lat="70.6796266" lon="23.6723991"><time>2002-12-22T21:42:54Z</time></trkpt>
21 +<!-- 20021222T214351-20021222T214354: CO: No signal \x7B\x7B\x7B -->
22 <!-- <trkpt lat="70.6796266" lon="23.6723991"><time>2002-12-22T21:43:51Z</time><extensions><error>desc</error></extensions></trkpt> -->
23 <!-- <trkpt lat="70.6796266" lon="23.6723991"><time>2002-12-22T21:43:52Z</time><extensions><error>desc</error></extensions></trkpt> -->
24 <!-- <trkpt lat="70.6796266" lon="23.6723991"><time>2002-12-22T21:43:54Z</time><extensions><error>desc</error></extensions></trkpt> -->
25 +<!-- 20021222T214351-20021222T214354: CO: No signal \x7D\x7D\x7D -->
26 <trkpt lat="70.6800774" lon="23.6757566"><time>2002-12-22T21:44:45Z</time></trkpt>
27 </trkseg>
28 <trkseg>
29 Index: gpst
30 ===================================================================
31 --- gpst (revision 2020)
32 +++ gpst (working copy)
33 @@ -273,6 +273,7 @@
34 push(@first_lines, $_);
36 s/^# error // && ($Dat{'error'} = "error");
37 + s/^# (.+)// && ($Dat{'error'} = $1);
38 s/^# ?// && ($Dat{'error'} = "desc");
39 $xml_data = "";
40 if (m#^<(e?tp)\b(.*?)>(.*?)</(e?tp)>\s*$#) {