From: Platonides Date: Sun, 18 Jul 2010 21:40:49 +0000 (+0000) Subject: Follow up r69508. Mention both functions. X-Git-Tag: 1.31.0-rc.0~36095 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=b450b32cc7cc9de3958696c12611f14339b9ab92;p=lhc%2Fweb%2Fwiklou.git Follow up r69508. Mention both functions. --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index a68daf0fd8..f4506c38a3 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2095,9 +2095,10 @@ function &wfGetMimeMagic() { * we'll use sys_get_temp_dir(). The TMPDIR, TMP, and TEMP environment * variables are then checked in sequence, and if none are set /tmp is * returned as the generic Unix default. - * - * NOTE: When possible, use the tempnam() function to create temporary - * files to avoid race conditions on file creation, etc. + * It is common to call it with tempnam(). + * + * NOTE: When possible, use instead the tmpfile() function to create + * temporary files to avoid race conditions on file creation, etc. * * @return String */