pgsql: Fix unportable usage of functions.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix unportable usage of functions.
Дата
Msg-id E1aci1o-0004gm-CK@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix unportable usage of <ctype.h> functions.

isdigit(), isspace(), etc are likely to give surprising results if passed a
signed char.  We should always cast the argument to unsigned char to avoid
that.  Error in commit d78a7d9c7fa3e9cd, found by buildfarm member gaur.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cb0ca0c9953aa0614e7b143bd2440a7582a27233

Modified Files
--------------
src/backend/tsearch/spell.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Artur Zakirov
Дата:
Сообщение: Re: pgsql: Improve support of Hunspell in ispell dictionary.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix not-terribly-safe coding in NIImportOOAffixes() and NIImport