Add mkdtemp() to libpgport.

Noah Misch <noah@leadboat.com>

Commit: 598efaa37f4e223491cf326f2ab44414a934c014
Author: Noah Misch <noah@leadboat.com>
Date: 2014-06-14T13:41:16Z
Releases: 9.4.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