]> granicus.if.org Git - postgresql/commit
Fix our version of strdup() to adhere to the standard semantics for
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Sep 2005 04:53:23 +0000 (04:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Sep 2005 04:53:23 +0000 (04:53 +0000)
commit3772975f308c430d392bae3f0c3c4d68966d26d2
tree780c42ed06aec2b6c2a78467d47a7eecc4b28a2d
parent4056efcfc15b3f66427f61f3f06b155f9bc6b516
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.
src/port/strdup.c