#20984 [NEW]: copy( "file.txt" , "file.txt" ) empties the file

From: Date: Fri, 13 Dec 2002 09:39:33 +0000
Subject: #20984 [NEW]: copy( "file.txt" , "file.txt" ) empties the file
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27577@lists.php.net to get a copy of this message
From: john.doe@nowhere.com Operating system: w2k PHP version: 4.2.3 PHP Bug Type: Unknown/Other Function Bug description: copy( "file.txt" , "file.txt" ) empties the file copy( "toto.txt" , "toto.txt"); // then toto.txt is empty -- Edit bug report at http://bugs.php.net/?id=20984&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20984&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20984&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20984&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20984&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20984&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20984&r=support Expected behavior: http://bugs.php.net/fix.php?id=20984&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20984&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20984&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20984&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20984&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20984&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20984&r=isapi

« previous php.bugs (#27577) next »