Skip site navigation (1) Skip section navigation (2)

pgbouncer - pgbouncer: Build fixes for Solaris * Use __func__ and

From: mkz(at)pgfoundry(dot)org (User Mkz)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgbouncer - pgbouncer: Build fixes for Solaris * Use __func__ and
Date: 2008-06-25 14:47:55
Message-ID: (view raw or whole thread)
Lists: pgsql-committers
Log Message:
Build fixes for Solaris

* Use __func__ and define it to __FUNCTION__ if not defined.
  it's the C99 standard.

* Tests for certain linking libraries (libnsl, libsocket, libresolv) (

* Defines INADDR_NONE  if not defined

* Search for <ucred.h> in addition to <sys/ucred.h> (

* Changes include of <sys/errno.h> to <errno.h>.
  I _think_ this should be safe on all platforms (and it's the standard)

* Changes local variable name s_addr to saddr in takeover.c.
  s_addr is a Single Unix Specification defined name.

* Checks if LOG_AUTHPRIV exists (it does not in Solaris)

Original patch by Magne Mhre, applied with minor changes

Modified Files:
    pgbouncer: (r1.32 -> r1.33)
        system.h (r1.12 -> r1.13)
        util.h (r1.6 -> r1.7)
        system.c (r1.3 -> r1.4)
        takeover.c (r1.13 -> r1.14)
        util.c (r1.23 -> r1.24)

pgsql-committers by date

Next:From: User MkzDate: 2008-06-25 14:53:28
Subject: pgbouncer - pgbouncer: include both pwd.h and grp.h in system.c and
Previous:From: User DpageDate: 2008-06-25 12:15:38
Subject: stackbuilder - wizard: Read registry keys in a more fault-tolerant

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group