Make WordPress Core

Ticket #12201: file.php.diff

File file.php.diff, 460 bytes (added by edward mindreantre, 15 years ago)

Diff of file.php from v2.9.1

Line 
1670c670
2<       if( ! $method && function_exists('getmyuid') && function_exists('fileowner') ){
3---
4>       if( ! $method && (function_exists('getmyuid') || function_exists('posix_getuid')) && function_exists('fileowner') ){
5677c677,680
6<                       if ( getmyuid() == @fileowner($temp_file_name) )
7---
8>                       $myuid = @getmyuid();
9>                       if ($myuid === null)
10>                               $myuid = @posix_getuid();
11>                       if ( $myuid == @fileowner($temp_file_name) )
12710c713
13<               
14---
15>
16713c716
17<               
18---
19>