diff --git a/change_log.txt b/change_log.txt index 7e14bc27..6a03a7f1 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== trunk ===== +29.12.2011 +- bugfix enable more entropy in Smarty_Internal_Write_File for "more uniqueness" and Cygwin compatibility + 28.12.2011 - bugfix Smarty's internal header code must be excluded from postfilters (issue 71) diff --git a/libs/sysplugins/smarty_internal_write_file.php b/libs/sysplugins/smarty_internal_write_file.php index 743503b0..2dfb4757 100644 --- a/libs/sysplugins/smarty_internal_write_file.php +++ b/libs/sysplugins/smarty_internal_write_file.php @@ -38,7 +38,7 @@ class Smarty_Internal_Write_File { } // write to tmp file, then move to overt file lock race condition - $_tmp_file = $_dirpath . DS . uniqid('wrt'); + $_tmp_file = $_dirpath . DS . uniqid('wrt', true); if (!file_put_contents($_tmp_file, $_contents)) { error_reporting($_error_reporting); throw new SmartyException("unable to write file {$_tmp_file}");