diff --git a/cfg/posix.cfg b/cfg/posix.cfg index e9b4ad8b4..374df057a 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -528,6 +528,8 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func + Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. +The function 'mktemp' is considered to be dangerous due to race conditions and some implementations generating only up to 26 different filenames out of each template. This function has been removed in POSIX.1-2008. Use 'mkstemp' or 'mkdtemp' instead.