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)
commit2ad783d51ec4fdb1a6fdf014dda0ae5effd56029
treeb2540a760748311bf52a3c1d8fe283b485cb17be
parent0707af667b579890c6105626eb3a7ac44ca8ab7c
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