Add mkdtemp() to libpgport.

Noah Misch <noah@leadboat.com>

Commit: 9e6b1bf258170e62dac555fc82ff0536dfe01d29
Author: Noah Misch <noah@leadboat.com>
Date: 2014-06-14T13:41:13Z
Releases: 9.5.0
Add mkdtemp() to libpgport.

This function is pervasive on free software operating systems; import
NetBSD's implementation.  Back-patch to 8.4, like the commit that will
harness it.

Files

PathChange+/−
configure modified +13 −0
configure.in modified +1 −1
src/include/pg_config.h.in modified +3 −0
src/include/pg_config.h.win32 modified +3 −0
src/include/port.h modified +3 −0
src/port/mkdtemp.c added +293 −0
src/tools/msvc/Mkvcbuild.pm modified +1 −1