git: <stdlib.h>/<unistd.h>: Expose mkdtemp()'s prototype also if XSI is visible.
Sascha Wildner
swildner at crater.dragonflybsd.org
Tue Oct 27 11:18:16 PDT 2015
commit 3b63b459ebb18440f706cfff1e2142caec89fcf5
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:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/mkdtemp.html
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b63b459ebb18440f706cfff1e2142caec89fcf5
--
DragonFly BSD source repository
More information about the Commits
mailing list