hash_path_name fix for "dir/."

Christopher Faylor cgf@cygnus.com
Mon Feb 1 06:23:00 GMT 1999


On Sun, Jan 31, 1999 at 05:58:30PM -0800, Matt Armstrong wrote:
>The attached patch fixes a bug in hash_path_name().  hash_path_name()
>currently hashes foo and foo/ the same, but it will hash
>foo/. differently.  The patch causes all three to hash to the same
>value/inode.
>
>(I've mailed this to cygwin32-developers before, but I wasn't on the
>list at the time.  Lemme know if it has already been applied.)

A variant has already been applied.

Please check the snapshots before submitting a patch.

Thank you.

-Chris Faylor
-Cygnus Solutions


More information about the Cygwin-developers mailing list