Re: C++ interface build on FreeBSD 4.2 broken?
От | Marko Kreen |
---|---|
Тема | Re: C++ interface build on FreeBSD 4.2 broken? |
Дата | |
Msg-id | 20010120234309.A16745@l-t.ee обсуждение исходный текст |
Ответ на | Re: C++ interface build on FreeBSD 4.2 broken? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: C++ interface build on FreeBSD 4.2 broken?
|
Список | pgsql-hackers |
On Sat, Jan 20, 2001 at 02:18:55PM -0500, Tom Lane wrote: > Peter Eisentraut <peter_e@gmx.net> writes: > > libpq doesn't use it either, but it uses tons of strerror(). > > And also there are quite a few places in the backend that use strerror() > directly. This lack of consistency seems like another reason to forget > about testing errno against sys_nerr in elog() ... All relevant standards discourage use of sys_nerr too. There was a discussion on cygwin lists once ... *searching* in <http://cygwin.com/ml/cygwin/1999-11/msg00097.html> From: "J. J. Farrell" <jjf at bcs dot org dot uk> [ about using sys_nerr & sys_errlist ] > Nothing written in the last 10 years or so should be using these > anyway; strerror() was introduced in C89 and POSIX.1 to replace > them, as Mumit pointed out. ... -- marko
В списке pgsql-hackers по дате отправления: