Mail Archives: cygwin/2003/02/12/04:47:29
Reproduced this:
----
[/t] $ mv lib lib
mv: cannot copy a directory, `lib', into itself, `lib/lib'
[/t] [1] $ mv lib Lib
mv: cannot copy a directory, `lib', into itself, `Lib/lib'
[/t] [1] $ mv --version
mv (fileutils) 4.1
Written by Mike Parker, David MacKenzie, and Jim Meyering.
Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[/t] $ uname -a
CYGWIN_NT-5.0 RE0263 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown unknown
Cygwin
----
Actually it DOES copy the directory into itself!
I get a directory 'lib' inside my old 'lib' with the exact
same contents.
Supposed behaviour should be to do nothing..?
[snip]
> On lnx, I get:
> mv: cannot move `mydir' to a subdirectory of itself, `mydir/mydir'
>
> Shouldn't I get a similar error on Windows?
I get those above.
[snap]
bye,
harry
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -