pgsql: Fix our version of strdup() to adhere to the standard semantics

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix our version of strdup() to adhere to the standard semantics
Date: 2005-09-27 04:53:24
Message-ID: 20050927045324.29E42D979C@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix our version of strdup() to adhere to the standard semantics for
out-of-memory --- that is, return NULL rather than dumping core.
Noted by Qingqing Zhou.

Modified Files:
--------------
pgsql/src/port:
strdup.c (r1.7 -> r1.8)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/strdup.c.diff?r1=1.7&r2=1.8)

Browse pgsql-committers by date

  From Date Subject
Next Message User Andrewd 2005-09-27 13:30:40 pgbuildfarm - client-code: restore reporting for failures at CVS stage
Previous Message Tom Lane 2005-09-26 21:44:05 pgsql: Create preliminary release notes for upcoming back-branch