Mail Archives: djgpp-workers/2001/09/22/08:37:23
Hi,
I'm writting once again to let you know there is a problem with absolute
path names whose sizes is very large ( > 67 chars, perhaps)
under W2k
I only started looking at this and it seems that if a pathname is too long
then a root directory (\) is used instead
so rm -rf \very_long_path\*.*
results in
rm -rf \*.*
This has just happened to me and I lost 700 MB of some programs :)
when I tried to continue compiling libstdc++-v3.
Make gave something like
(1234567890 was the first directory on the root dir
two directories only shown - actually more were deleted, the point is that
1) directories from the root dir are scanned; 2) make does recursive scans)
d:/djgpp.2/bin/rm: cannot remove directory `.libs/libstdc++.lax/1234567890':
Operation not permitted (EPERM)
d:/djgpp.2/bin/rm: cannot remove directory `.libs/libstdc++.lax/djgpp':
Directory not empty (ENOTEMPTY)
d:/djgpp.2/bin/rm: cannot remove directory
`.libs/libstdc++.lax/djgpp.2/gnu/gcc-3.02/build.djg/i586-pc-msdosdjgpp/libst
dc++-v3/include/backward/1234567890': Operation not permitted (EPERM)
d:/djgpp.2/bin/rm: cannot remove directory
`.libs/libstdc++.lax/djgpp.2/gnu/gcc-3.02/build.djg/i586-pc-msdosdjgpp/libst
dc++-v3/include/backward/djgpp': Directory not empty (ENOTEMPTY)
d:/djgpp.2/bin/rm: cannot remove directory
`.libs/libstdc++.lax/djgpp.2/gnu/gcc-3.02/build.djg/i586-pc-msdosdjgpp/libst
dc++-v3/include/backward/djgpp.2/gnu/gcc-3.02/build.djg/i586-pc-msdosdjgpp/l
ibstdc++-v3/include/backward/1234567890': Operation not permitted (EPERM)
- Raw text -