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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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