Re: bug in mv while moving something into symlink-directory

2003-10-19 Thread Bob Proulx
Martin Grosup wrote: > Hello. Sorry for my bad english. I will try my best: Thank you for that very detailed report. Details such as you provided are most appreciated. However, what you are seeing is not a bug. You are seeing behavior by the shell trying to help you but instead is only confusin

Re: bug in mv (fileutils) 4.1

2002-11-21 Thread Kevin Layer
>> crikey% ls -lR tmp/test_18 >> tmp/test_18: >> total 4 >> drwxr-xr-x2 layerfi 4096 Nov 21 11:29 bar/ >> lrwxrwxrwx1 layerfi 3 Nov 21 11:29 foo -> bar/ >> >> tmp/test_18/bar: >> total 4 >> -rw-r--r--1 layerfi 51 Nov 21 11:29 foo_18 >> >>

Re: bug in mv (fileutils) 4.1

2002-11-21 Thread Kevin Layer
>I have tried this: > > export POSIXLY_CORRECT=1 > mkdir mv_test > cd mv_test > mkdir a c > ln -s a b > mv -v b/ c > alias mv > which mv > > I expected, as is written, that the directory a will be moved into > directory c (the symbolic link b to d

Re: bug in mv (fileutils) 4.1

2002-11-17 Thread Jim Meyering
> export POSIXLY_CORRECT=1 > mkdir mv_test > cd mv_test > mkdir a c > ln -s a b > mv -v b/ c > alias mv > which mv > > I expected, as is written, that the directory a will be moved into > directory c (the symbolic link b to directory a will be derefer

Re: bug in mv (fileutils) 4.1

2002-11-17 Thread Jim Meyering
Thank you for the report! The way mv works depends on the behavior of `rename' (per POSIX), and it looks like rename's behavior has changed in Linux within the last few kernel releases. When I wrote the section you quote below, mv did indeed work as described when using the latest version of Linux

Re: bug in mv causes mv core dump.

2001-10-22 Thread Bob Proulx
> I don't know if this has been reported before, s Unfortunately it is a popular one. :-) Thanks for the report anyway. It might not have been. > [root@kcasep18 local]# mv include/php/ ~/include.php.old > mv: basename.c:67: base_name: Assertion `all_slashes || *(p - 1) != '/'' Please u

Re: Bug in mv-command

2001-05-24 Thread Jim Meyering
Michael Mess <[EMAIL PROTECTED]> wrote: | I think, I found a bug in the mv-command: | | :/ide/altrechner/test/bug>dir | total 0 | :/ide/altrechner/test/bug>mkdir a | :/ide/altrechner/test/bug>touch b | :/ide/altrechner/test/bug>mkdir test | :/ide/altrechner/test/bug>mv * test/ | mv: test/test/a: w

Re: bug in mv

2001-03-06 Thread Mark Laws
ing <[EMAIL PROTECTED]> > To: Mark Laws <[EMAIL PROTECTED]> > Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Subject: Re: bug in mv > > This time I actually read your entire message :-) > That bug is fixed in the latest test release. > ftp://al

Re: bug in mv

2001-03-04 Thread Jim Meyering
This time I actually read your entire message :-) That bug is fixed in the latest test release. ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0.41.tar.gz With that, I get this: $ mv bla* blah_stuff mv: cannot move `blah_stuff' to a subdirectory of itself, `blah_stuff/blah_stuff' [Exit 1] Ma

Re: bug in mv

2001-03-04 Thread Mark Laws
n Genesis Evangelion On 4 Mar 2001, Jim Meyering wrote: > Date: 04 Mar 2001 19:40:24 +0100 > From: Jim Meyering <[EMAIL PROTECTED]> > To: Mark Laws <[EMAIL PROTECTED]> > Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Subject: Re: bug in mv > > Mark Law

Re: bug in mv

2001-03-04 Thread Jim Meyering
Mark Laws <[EMAIL PROTECTED]> wrote: | $ mkdir blah_stuff | $ mkdir blah_a | $ mv blah_* blah_stuff | mv: Segmentation fault | | The directory is successfully moved, but I thought I should report the bug | anyway. I'm running Linux 2.2.18 with glibc-2.1.3. Thanks for the report. What version of m

Re: Bug in mv from fileutils 4.x when renaming symlink

2000-11-23 Thread Jim Meyering
Thanks for the reports. Igor Bukanov <[EMAIL PROTECTED]> wrote: | When I use mv to rename sym link to directory via: | | mv sym_link/ new_name | | mv actually rename the directory link point to. In some situation I also got: That is known behavior -- it's not expected to change. See below. Lobb