| От | Tom Lane |
|---|---|
| Тема | Re: Allowing printf("%m") only where it actually works |
| Дата | |
| Msg-id | 25779.1534655758@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Allowing printf("%m") only where it actually works (Nico Williams <nico@cryptonector.com>) |
| Ответы |
Re: Allowing printf("%m") only where it actually works
|
| Список | pgsql-hackers |
Nico Williams <nico@cryptonector.com> writes:
> On Sat, Aug 18, 2018 at 04:34:50PM -0400, Tom Lane wrote:
>> So now I'm about ready to propose that we just *always* use
>> snprintf.c, and forget all of the related configure probing.
> You'd also get to ensure that all uses from *die() are
> async-signal-safe.
[ raised eyebrow... ] That seems like more than I care to promise
here. But even if snprintf itself were unconditionally safe,
there's plenty of other stuff in that code path that isn't.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера