This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH]: Still path.cc
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 22 Sep 2004 09:46:08 -0400
- Subject: Re: [PATCH]: Still path.cc
- References: <3.0.5.32.20040921215840.0081d100@incoming.verizon.net>
- Reply-to: cygwin-patches at cygwin dot com
On Tue, Sep 21, 2004 at 09:58:40PM -0400, Pierre A. Humblet wrote:
>It's a safe time to take care of a few nits...
>
>While testing, I noticed in dir.cc that __d_dirent->d_ino
>is always set by hashing the pathname :(
This has been discussed many times throughout the years.
>2004-09-22 Pierre Humblet <pierre.humblet@ieee.org>
>
> * path.cc (normalize_win32_path): Only look for : in second position.
> Avoid infinite loop with names starting in double dots.
> (mount_info::conv_to_win32_path): Do not worry about a trailing dot.
Why not worry about a trailing dot? Is it handled somewhere else? The
intent is to make the inode of /foo/. == /foo .
cgf