forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9006792
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 parentd0f8332 commit9006792
1 file changed
+13
-13
lines changedLines changed: 13 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
131 |
| - | |
132 | 130 |
| |
| 131 | + | |
133 | 132 |
| |
134 |
| - | |
| 133 | + | |
| 134 | + | |
135 | 135 |
| |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 | 136 |
| |
141 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
142 | 141 |
| |
| 142 | + | |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
| |||
2857 | 2857 |
| |
2858 | 2858 |
| |
2859 | 2859 |
| |
2860 |
| - | |
2861 |
| - | |
| 2860 | + | |
| 2861 | + | |
2862 | 2862 |
| |
2863 | 2863 |
| |
2864 | 2864 |
| |
| |||
2869 | 2869 |
| |
2870 | 2870 |
| |
2871 | 2871 |
| |
2872 |
| - | |
2873 |
| - | |
| 2872 | + | |
| 2873 | + | |
2874 | 2874 |
| |
2875 | 2875 |
| |
2876 | 2876 |
| |
| |||
2881 | 2881 |
| |
2882 | 2882 |
| |
2883 | 2883 |
| |
2884 |
| - | |
2885 |
| - | |
| 2884 | + | |
| 2885 | + | |
2886 | 2886 |
| |
2887 | 2887 |
| |
2888 | 2888 |
| |
|
0 commit comments
Comments
(0)