| 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: | 2009-01-29 03:31:24 |
| Message-ID: | 20090129033124.9A14A17ADE6E@pgfoundry.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | User Achernow | 2009-01-29 03:34:12 | libpqtypes - libpqtypes: updated changelog |
| Previous Message | Teodor Sigaev | 2009-01-28 18:32:55 | pgsql: Fix bug with multiple evaluation of tsearch2 compatibility |