| От | Peter Eisentraut |
|---|---|
| Тема | Re: Fix volatile vs. pointer confusion |
| Дата | |
| Msg-id | 8589eca8-bb4c-36fc-3dab-7f87589978e6@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Fix volatile vs. pointer confusion (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
| Список | pgsql-hackers |
On 2019-03-11 08:23, Peter Eisentraut wrote: > Variables used after a longjmp() need to be declared volatile. In > case of a pointer, it's the pointer itself that needs to be declared > volatile, not the pointed-to value. So we need > > PyObject *volatile items; > > instead of > > volatile PyObject *items; /* wrong */ > > Attached patch fixes a couple of cases of that. Most instances were > already correct. Committed. I'll wait for the build farm to see if there are any new compiler warnings because of this, then backpatch. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера