needlessly casting away const in localtime.c

Поиск
Список
Период
Сортировка
От Mark Dilger
Тема needlessly casting away const in localtime.c
Дата
Msg-id 3A6A7CE0-1F23-49F5-BFCF-BDA0727B7DAA@gmail.com
обсуждение исходный текст
Ответы Re: needlessly casting away const in localtime.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Friends, per the recent thread "gratuitous casting away const", the
assignment on line 1247 of localtime.c has const lvalue and rvalue,
yet casts through (char *) rather than (const char *).  Fix attached.

Mark Dilger


Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: increasing the default WAL segment size
Следующее
От: Tom Lane
Дата:
Сообщение: Re: needlessly casting away const in localtime.c