Subject: | dircopy returns success when $new folder ends with " " |
Date: | Wed, 20 Jan 2016 22:33:31 +0200 |
To: | bug-File-Copy-Recursive [...] rt.cpan.org |
From: | Yulian Matev <yulian.matev [...] gmail.com> |
Hi,
I am using Win7.
By mistake I used a direcorory name that ends with blank " " :
if( dircopy( "source_dir", "destination_dir " ) ) {
} else {
# trace error
}
and I found out that in this case :
1. dircopy returns success
2. directory "destination_dir" is created.
3. Nothing is copied inside "destination_dir"
From my point of view a dircopy failure should be indicated in this case.
Best regards,
Yulian