Add mkdtemp() to libpgport.
Noah Misch <noah@leadboat.com>
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
| Path | Change | +/− |
|---|---|---|
| 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 |