[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH 3/4] Removes non-ASCII characters from gps.h comments.
From: |
Fred Wright |
Subject: |
[gpsd-dev] [PATCH 3/4] Removes non-ASCII characters from gps.h comments. |
Date: |
Sat, 9 Apr 2016 19:57:15 -0700 |
Testing maskaudit.py with Python 3 revealed that two comments in gps.h
(lines 285 and 294) were using non-ASCII minus signs in the comments.
This resulted in exceptions with Python >=3.3 and LANG unset. Since
there's no intention to actually use non-ASCII characters here, it
doesn't seem worthwhile to fix the code.
TESTED:
Using a version of SConstruct patched to use the target Python for
build helpers, ran "scons build-all" with all six supported Python
versions.
---
gps.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gps.h b/gps.h
index 6317941..bd429b2 100644
--- a/gps.h
+++ b/gps.h
@@ -282,7 +282,7 @@ struct rtcm3_basic_rtk {
unsigned int channel; /* Satellite Frequency Channel Number
(GLONASS only) */
double pseudorange; /* Pseudorange */
- double rangediff; /* PhaseRange – Pseudorange in meters */
+ double rangediff; /* PhaseRange - Pseudorange in meters */
unsigned char locktime; /* Lock time Indicator */
};
@@ -291,7 +291,7 @@ struct rtcm3_extended_rtk {
unsigned int channel; /* Satellite Frequency Channel Number
(GLONASS only) */
double pseudorange; /* Pseudorange */
- double rangediff; /* PhaseRange – L1 Pseudorange */
+ double rangediff; /* PhaseRange - L1 Pseudorange */
unsigned char locktime; /* Lock time Indicator */
unsigned char ambiguity; /* Integer Pseudorange
Modulus Ambiguity */
--
2.8.1
- [gpsd-dev] [PATCH 10/12] Fixes fake.py and gpsfake for Python 3., (continued)
- Re: [gpsd-dev] Python 3 Updates, Gary E. Miller, 2016/04/08
- Re: [gpsd-dev] Python 3 Updates, Eric S. Raymond, 2016/04/09
- Re: [gpsd-dev] Python 3 Updates, Fred Wright, 2016/04/09
- Re: [gpsd-dev] Python 3 Updates, Fred Wright, 2016/04/10
- [gpsd-dev] [PATCH] Fixes devtools/*.py for Python 3., Fred Wright, 2016/04/10