Обсуждение: pgsql: Fix unportable usage of functions.

Поиск
Список
Период
Сортировка

pgsql: Fix unportable usage of functions.

От
Tom Lane
Дата:
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(-)