Clear errno in spell.c

Поиск
Список
Период
Сортировка
От Jacob Brazeal
Тема Clear errno in spell.c
Дата
Msg-id CA+COZaBhsq6EromFm+knMJfzK6nTpG23zJ+K2=nfUQQXcj_xcQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Clear errno in spell.c
Список pgsql-hackers
Hello!

Several times in spell.c, we call strtol and then check the errno, but we do not clear out errno = 0 before strtol, as is customary (and done everywhere else in the codebase that I could find.) This could hypothetically lead to us incorrectly logging an error.

Regards,
Jacob

Вложения

В списке pgsql-hackers по дате отправления: