forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8b91d25
committed
Clean up *printf macros to avoid conflict with format archetypes.
We must define the macro "printf" with arguments, else it can messup format archetype attributes in builds where PG_PRINTF_ATTRIBUTEis just "printf". Fortunately, that's easy to do now that we'rerequiring C99; we can use __VA_ARGS__.On the other hand, it's better not to use __VA_ARGS__ for the restof the *printf crew, so that one can take the addresses of thosefunctions without surprises.I'd proposed doing this some time ago, but forgot to make it happen;buildfarm failures subsequent to96bf88d reminded me.Discussion:https://postgr.es/m/22709.1535135640@sss.pgh.pa.usDiscussion:https://postgr.es/m/20180926190934.ea4xvzhkayuw7gkx@alap3.anarazel.de1 parenta6b88d6 commit8b91d25
3 files changed
+7
-23
lines changedLines changed: 7 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 |
| - | |
177 |
| - | |
178 |
| - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
179 | 182 |
| |
180 |
| - | |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
188 | 183 |
| |
189 | 184 |
| |
190 | 185 |
| |
191 | 186 |
| |
192 | 187 |
| |
193 |
| - | |
194 |
| - | |
| 188 | + | |
195 | 189 |
| |
196 | 190 |
| |
197 | 191 |
| |
|
Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 | 105 |
| |
110 | 106 |
| |
111 |
| - | |
112 | 107 |
| |
113 | 108 |
| |
114 | 109 |
| |
|
Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 | 130 |
| |
135 | 131 |
| |
136 |
| - | |
137 | 132 |
| |
138 | 133 |
| |
139 | 134 |
| |
|
0 commit comments
Comments
(0)