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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

libpqtypes - libpqtypes: va_arg was passed as an argument to the


  • From: achernow(at)pgfoundry(dot)org (User Achernow)
  • To: pgsql-committers(at)postgresql(dot)org
  • Subject: libpqtypes - libpqtypes: va_arg was passed as an argument to the
  • Date: Thu, 29 Jan 2009 03:31:24 +0000 (UTC)
  • Message-id: <20090129033124.9A14A17ADE6E@pgfoundry.org> <text/plain>

Log Message:
-----------
va_arg was passed as an argument to the internal pqt_buf_putxxx macros for int2 and int4 put routines.  This corrupted the value being put and caused the regression-test to fail.  Problem has only been seen on UnixWare 7.1.4.  Solution was to store the return of va_arg in a local variable and pass that to pqt_buf_putxxx macros.

Modified Files:
--------------
    libpqtypes/src:
        numerics.c (r1.8 -> r1.9)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/libpqtypes/libpqtypes/src/numerics.c.diff?r1=1.8&r2=1.9)
        regression-test.c (r1.12 -> r1.13)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/libpqtypes/libpqtypes/src/regression-test.c.diff?r1=1.12&r2=1.13)



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group