Browse Source

- Fixed bug #55576: Cannot conditionally move uploaded file without race

condition.
pull/12/head
Gustavo André dos Santos Lopes 15 years ago
parent
commit
cc45ce4586
  1. 7
      NEWS
  2. 1
      ext/standard/basic_functions.c

7
NEWS

@ -5,8 +5,11 @@ PHP NEWS
- Core:
. Fixed bug #52461 (Incomplete doctype and missing xmlns).
(virsacer at web dot de, Pierre)
. Fixed bug #55366: keys lost when using substr_replace an array (Arpad)
. Fixed bug #55510: $_FILES 'name' missing first character after upload (Arpad)
. Fixed bug #55366: keys lost when using substr_replace an array. (Arpad)
. Fixed bug #55510: $_FILES 'name' missing first character after upload.
(Arpad)
. Fixed bug #55576: Cannot conditionally move uploaded file without race
condition. (Gustavo)
- DateTime:
. Fixed bug #48476 (cloning extended DateTime class without calling

1
ext/standard/basic_functions.c

@ -5849,7 +5849,6 @@ PHP_FUNCTION(move_uploaded_file)
RETURN_FALSE;
}
VCWD_UNLINK(new_path);
if (VCWD_RENAME(path, new_path) == 0) {
successful = 1;
#ifndef PHP_WIN32

Loading…
Cancel
Save