- Notifications
You must be signed in to change notification settings - Fork5
Commit778d498
committed
Fix breakage in GEODEBUG debug code.
LINE doesn't have an "m" field (anymore anyway). Also fix unportableassumption that %x can print the result of pointer subtraction.In passing, improve single_decode() in minor ways:* Remove unnecessary leading-whitespace skip (strtod does that already).* Make GEODEBUG message more intelligible.* Remove entirely-useless test to see if strtod returned a silly pointer.* Don't bother computing trailing-whitespace skip unless caller wants an ending pointer.This has been broken since261c7d4.Although it's only debug code, might as well fix the 9.4 branch too.1 parent91fa7b4 commit778d498
1 file changed
+13
-13
lines changedLines changed: 13 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 |
| - | |
132 |
| - | |
133 | 131 |
| |
| 132 | + | |
134 | 133 |
| |
135 |
| - | |
| 134 | + | |
| 135 | + | |
136 | 136 |
| |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 | 137 |
| |
142 | 138 |
| |
| 139 | + | |
| 140 | + | |
| 141 | + | |
143 | 142 |
| |
| 143 | + | |
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
| |||
2901 | 2901 |
| |
2902 | 2902 |
| |
2903 | 2903 |
| |
2904 |
| - | |
2905 |
| - | |
| 2904 | + | |
| 2905 | + | |
2906 | 2906 |
| |
2907 | 2907 |
| |
2908 | 2908 |
| |
| |||
2913 | 2913 |
| |
2914 | 2914 |
| |
2915 | 2915 |
| |
2916 |
| - | |
2917 |
| - | |
| 2916 | + | |
| 2917 | + | |
2918 | 2918 |
| |
2919 | 2919 |
| |
2920 | 2920 |
| |
| |||
2925 | 2925 |
| |
2926 | 2926 |
| |
2927 | 2927 |
| |
2928 |
| - | |
2929 |
| - | |
| 2928 | + | |
| 2929 | + | |
2930 | 2930 |
| |
2931 | 2931 |
| |
2932 | 2932 |
| |
|
0 commit comments
Comments
(0)