| От | Peter Eisentraut |
|---|---|
| Тема | Re: Fix volatile vs. pointer confusion |
| Дата | |
| Msg-id | b43d380c-e3be-886b-6ed2-ca3cdba9f3f6@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Re: Fix volatile vs. pointer confusion (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Список | pgsql-hackers |
On 2019-03-11 12:57, Alvaro Herrera wrote: > Looking at recently committed 2e616dee9e60, we have introduced this: > > + volatile xmlBufferPtr buf = NULL; > + volatile xmlNodePtr cur_copy = NULL; > > where the pointer-ness nature of the object is inside the typedef. I > *suppose* that this is correct as written. There are a few occurrences > of this pattern in eg. contrib/xml2. I think this is correct, but I don't want to wreck my sanity trying to understand the syntax-level details of why. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера