#32280 [Bgs]: Renaming a folder to same name as file results in error

From: Date: Fri, 11 Mar 2005 22:42:16 +0000
Subject: #32280 [Bgs]: Renaming a folder to same name as file results in error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-77332@lists.php.net to get a copy of this message
ID: 32280 User updated by: tss24 at cornell dot edu Reported By: tss24 at cornell dot edu Status: Bogus Bug Type: Filesystem function related Operating System: WinXP Pro PHP Version: 5.0.3 New Comment: Crap! Too freaking tired of course this isn't a bug, it doesn't make sense! In theory it does though... ah well, lack of sleep didn't help here. Delete this one! Previous Comments: ------------------------------------------------------------------------ [2005-03-11 23:37:21] pollita@php.net No duh. ------------------------------------------------------------------------ [2005-03-11 22:32:01] tss24 at cornell dot edu Description: ------------ When renaming a folder to same name as file in same path, an error occurs. example: folder: test1 folder: test2 file01: file1 file02: file2 renaming test1 to file1 (even though it's still a folder on the system) causes an error. Reproduce code: --------------- rename($oldname,$newname); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32280&edit=1

« previous php.bugs (#77332) next »