Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
В списке pgsql-hackers по дате отправления:
| От | Jeremy Kerr |
|---|---|
| Тема | Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros |
| Дата | |
| Msg-id | 200907201052.23772.jk@ozlabs.org обсуждение исходный текст |
| Ответ на | Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
|
| Список | pgsql-hackers |
Tom, > However, I think the whole patch is pretty useless. That code is not > broken as it stands, and doesn't appear to really gain anything from > the proposed change. Why should we risk any portability questions > when the code isn't going to get either simpler or shorter? This patch "clears the way" for the proceeding change (2/2). We use the new inline functions to implement the proper checks to see if the sigpipe-masking syscalls are needed. We also need disable_sigpipe to be called when it's not the start of a block, hence the separate type definition. Cheers, Jeremy
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера