[GXemul-devel] mkstemp() issues
Status: Alpha
Brought to you by:
gavare
From: Jeff R. <ri...@ta...> - 2012-09-27 18:08:20
|
Here are a couple of patches to allow gxemul to work again on NetBSD, either is sufficient, but I would recommend both. The first patch, to configure, looks for mkstemp() in stdlib.h (not unistd.h), which is the correct location. I've left unistd.h there. The second patch fixes mymkstemp() to open() with O_RDWR | O_CREAT instead of just O_RDWR, which is why mymkstemp() was failing on NetBSD 6.0. +j |