Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Committers > pgbouncer - pgb...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 16585 of 18152
Post > Topic >>

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

by mkz@[EMAIL PROTECTED] (User Mkz) Jun 25, 2008 at 02:47 PM

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)
(configure.ac)

* Defines INADDR_NONE  if not defined

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

* 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 Mæhre, applied with minor changes

Modified Files:
--------------
    pgbouncer:
        configure.ac (r1.32 -> r1.33)
       
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/configure.ac.diff?r1=1.32&r2=1.33)
    pgbouncer/include:
        system.h (r1.12 -> r1.13)
       
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/include/system.h.diff?r1=1.12&r2=1.13)
        util.h (r1.6 -> r1.7)
       
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/include/util.h.diff?r1=1.6&r2=1.7)
    pgbouncer/src:
        system.c (r1.3 -> r1.4)
       
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/system.c.diff?r1=1.3&r2=1.4)
        takeover.c (r1.13 -> r1.14)
       
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/takeover.c.diff?r1=1.13&r2=1.14)
        util.c (r1.23 -> r1.24)
       
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/util.c.diff?r1=1.23&r2=1.24)

-- 
Sent via pgsql-committers mailing list (pgsql-committers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
 




 1 Posts in Topic:
pgbouncer - pgbouncer: Build fixes for Solaris * Use __func__ a
mkz@[EMAIL PROTECTED] (U  2008-06-25 14:47:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 1:06:42 CST 2008.