git: <stdlib.h>/<unistd.h>: Expose mkdtemp()'s prototype also if XSI is visible.
swildner at crater.dragonflybsd.org
Tue Oct 27 11:18:16 PDT 2015
Author: Sascha Wildner <saw at online.de>
Date: Tue Oct 27 19:16:37 2015 +0100
<stdlib.h>/<unistd.h>: Expose mkdtemp()'s prototype also if XSI is visible.
The history of this function in the specs seems to be a bit convoluted
for this function, to say the least. Even though I can't find it in
either Issue 5 or 6, go with what Issue 7's HISTORY says and treat it
like it was moved from XSI to base starting with Issue 7:
Most importantly, this commit fixes x11/xterm which was building but
segfaulting after 8eb95a5667325.
Reported-by: Rimvydas Jasinskas <rimvydas.jasinskas at gmail.com>
Summary of changes:
include/stdlib.h | 6 ++----
include/unistd.h | 8 ++++----
2 files changed, 6 insertions(+), 8 deletions(-)
DragonFly BSD source repository
More information about the Commits