Mail Archives: djgpp-workers/2003/07/30/07:11:52
--part1_1e9.dfb8f29.2c5901db_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In a message dated 7/30/2003 4:09:55 AM Eastern Standard Time,
AndrewCottrell AT swiftdsl DOT com DOT au writes:
> >Noticed by someone else and passed onto me:
> >
> >Create a directory with long name:
> >
> >mkdir thisisalong
> >cd thisisalong
> >mkdir junk
> >mv junk junk
> >
> >This will create junk\junk\... nesting until it fails.
> >
> >If you do the test under a short name it seems to work
> >correctly (gives a message about cannot move 'junk' to a
> >subdirectory of itself).
> >
> >I have verified this behavior under Win98 and Windows 2000
> >using an older copy of the filutils - but I am told it is
> >seen on newer versions as
> >well.
> >
> >A quick look at copy.c source seems that 'copy_into_self'
> >flag doesn't work properly if path contains long names.
>
> The solution is to make sure you are using the latest file utils and not 4.0
> or earlier. From memory last year, as such there may be some mistakes in my
> response below:-
>
The problem exists on my system (Windows XP) with Fileutils version 4.1.
--part1_1e9.dfb8f29.2c5901db_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<HTML><FONT FACE=3Darial,helvetica><FONT SIZE=3D3 FAMILY=3D"SERIF" FACE=3D"=
Georgia" LANG=3D"0">In a message dated 7/30/2003 4:09:55 AM Eastern Standard=
Time, AndrewCottrell AT swiftdsl DOT com DOT au writes:<BR>
<BR>
<BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT=
: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"></FONT><FONT COLOR=3D"#000000"=
style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=3D"A=
rial" LANG=3D"0">>Noticed by someone else and passed onto me:<BR>
><BR>
>Create a directory with long name:<BR>
><BR>
>mkdir thisisalong<BR>
>cd thisisalong<BR>
>mkdir junk<BR>
>mv junk junk<BR>
><BR>
>This will create junk\junk\... nesting until it fails.<BR>
><BR>
>If you do the test under a short name it seems to work <BR>
>correctly (gives a message about cannot move 'junk' to a <BR>
>subdirectory of itself).<BR>
><BR>
>I have verified this behavior under Win98 and Windows 2000 <BR>
>using an older copy of the filutils - but I am told it is <BR>
>seen on newer versions as <BR>
>well.<BR>
><BR>
>A quick look at copy.c source seems that 'copy_into_self' <BR>
>flag doesn't work properly if path contains long names.<BR>
<BR>
The solution is to make sure you are using the latest file utils and not 4.0=
<BR>
or earlier. From memory last year, as such there may be some mistakes in my<=
BR>
response below:-<BR>
</BLOCKQUOTE><BR>
</FONT><FONT COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D3=
FAMILY=3D"SERIF" FACE=3D"Georgia" LANG=3D"0"><BR>
The problem exists on my system (Windows XP) with Fileutils version 4.1.</FO=
NT></HTML>
--part1_1e9.dfb8f29.2c5901db_boundary--
- Raw text -