bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Eggert
Subject: Re: [bug]rm.c pwd.c getcwd.c don't work correctly in MSYS
Date: Wed, 27 Apr 2005 16:39:25 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

heromyth <address@hidden> writes:
heromyth <address@hidden> 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 bug, I found the reason is because of getcwd.c:
>    when it does with a directory which is mounted, the MATCHING_INO
> (d, thisino) is always false.

But in that case shouldn't the "mount_point" variable of getcwd.c have
been true?  If not, why wasn't it true?  It sounds like this is the
fundamental problem.  You may have to go into a debugger to figure it
out.

> 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]