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

pgsql: Fix a rather sizable number of problems in our homegrown

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a rather sizable number of problems in our homegrown
Date: 2005-12-05 02:39:43
Message-ID: 20051205023943.E81169DCCC4@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix a rather sizable number of problems in our homegrown snprintf, such as
incorrect implementation of argument reordering, arbitrary limit of output
size for sprintf and fprintf, willingness to access more bytes than "%.Ns"
specification allows, wrong formatting of LONGLONG_MIN, various field-padding
bugs and omissions.  I believe it now accurately implements a subset of
the Single Unix Spec requirements (remaining unimplemented features are
documented, too).  Bruce Momjian and Tom Lane.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/port:
        snprintf.c (r1.29 -> r1.29.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/snprintf.c.diff?r1=1.29&r2=1.29.2.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-12-05 04:13:39
Subject: pgsql: Add regression test to see if the min/max values of int8 convert
Previous:From: Tom LaneDate: 2005-12-05 02:39:39
Subject: pgsql: Fix a rather sizable number of problems in our homegrown

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