From: zet at male dot ru
Operating system: Windows XP SP1
PHP version: 4.3.7
PHP Bug Type: *Directory/Filesystem functions
Bug description: breaking copy file to the same
Description:
------------
When i copy file with function copy, like this
copy("C:\file.gif", "C:\file.gif"), file was break. His size is 0.
Reproduce code:
---------------
copy("C:\file.gif", "C:\file.gif");
Expected result:
----------------
IMHO file must stand without changes.
Actual result:
--------------
File changed. His size is 0.
--
Edit bug report at http://bugs.php.net/?id=29257&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29257&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29257&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29257&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29257&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29257&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29257&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29257&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29257&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29257&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29257&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29257&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29257&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29257&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29257&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29257&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29257&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29257&r=float