Re: [bug]rm.c pwd.c getcwd.c don't work correctly in MSYS

2005-04-28 Thread Eric Blake
I have compiled a copy of coreutils CVS with msysDVLPR-1.0.0-alpha of MSYS. After I run 'rm -r *' to delete a directory with subdirectory, I deleted everything in the directory except for itself. When I trace into this bug, I found the reason is because of getcwd.c: when it does with a

Re: [bug]rm.c pwd.c getcwd.c don't work correctly in MSYS

2005-04-28 Thread Eric Blake
Also, the pwd.c can't get the correct directory. Yes, that sounds like the same issue. Also, does your platform have a reliable getcwd function? If so, why did configure decide not to use it? You may want to further investigate m4/getcwd-path-max.m4, which was changed in CVS to

[bug]rm.c pwd.c getcwd.c don't work correctly in MSYS

2005-04-27 Thread heromyth
I have compiled a copy of coreutils CVS with msysDVLPR-1.0.0-alpha of MSYS. After I run 'rm -r *' to delete a directory with subdirectory, I deleted everything in the directory except for itself. When I trace into this bug, I found the reason is because of getcwd.c: when it does with a

Re: [bug]rm.c pwd.c getcwd.c don't work correctly in MSYS

2005-04-27 Thread Paul Eggert
heromyth [EMAIL PROTECTED] writes: heromyth [EMAIL PROTECTED] writes: I have compiled a copy of coreutils CVS with msysDVLPR-1.0.0-alpha of MSYS. After I run 'rm -r *' to delete a directory with subdirectory, I deleted everything in the directory except for itself. When I trace into this