forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfa2cfb9
committed
printf("%lf") is not portable, so omit the "l".
The "l" (ell) width spec means something in the corresponding scanf usage,but not here. While modern POSIX says that applying "l" to "f" and otherfloating format specs is a no-op, SUSv2 says it's undefined. Buildfarmexperience says that some old compilers emit warnings about it, and atleast one old stdio implementation (mingw's "ANSI" option) actuallyproduces wrong answers and/or crashes.Discussion:https://postgr.es/m/21670.1526769114@sss.pgh.pa.usDiscussion:https://postgr.es/m/c085e1da-0d64-1c15-242d-c921f32e0d5c@dunslane.net1 parenta5be529 commitfa2cfb9
File tree
7 files changed
+7
-7
lines changed- doc/src/sgml
- src/interfaces/ecpg/test
- compat_informix
- expected
- preproc
- sql
7 files changed
+7
-7
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1678 | 1678 |
| |
1679 | 1679 |
| |
1680 | 1680 |
| |
1681 |
| - | |
| 1681 | + | |
1682 | 1682 |
| |
1683 | 1683 |
| |
1684 | 1684 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 |
| - | |
| 145 | + | |
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
337 | 337 |
| |
338 | 338 |
| |
339 | 339 |
| |
340 |
| - | |
| 340 | + | |
341 | 341 |
| |
342 | 342 |
| |
343 | 343 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
| 161 | + | |
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
104 |
| - | |
| 104 | + | |
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
| 48 | + | |
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
|
0 commit comments
Comments
(0)