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

pgsql: Remove unportable assumption that it's okay to use the target

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unportable assumption that it's okay to use the target
Date: 2005-01-13 01:41:18
Message-ID: 20050113014118.90E613A5E79@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Remove unportable assumption that it's okay to use the target buffer
of an sprintf() as a source string.  Demonstrably does not work with
recent gcc and/or glibc on some platforms.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.83 -> r1.84)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c.diff?r1=1.83&r2=1.84)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-01-13 03:08:27
Subject: pgsql: Update of Japanese FAQ.
Previous:From: Tom LaneDate: 2005-01-12 21:37:56
Subject: pgsql: Add conditional inclusion of <com_err.h> to support old 'heimdal'

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