Re: ecpg compiler warning about char* comparison

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ecpg compiler warning about char* comparison
Дата
Msg-id 20100308121510.GA12566@feivel.credativ.lan
обсуждение исходный текст
Ответ на ecpg compiler warning about char* comparison  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
On Mon, Mar 08, 2010 at 10:46:03AM +0900, Takahiro Itagaki wrote:
> There is a complier warning in ecpg/ecpglib/error.c on HEAD:
> ...
> Instead, should we use "if (strcmp(...) == 0)" here?

Exactly. Thanks for spotting this, fixed in HEAD.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber meskes@jabber.org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming replication and privilege
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset