[all-commits] [llvm/llvm-project] aa427b: [libc++] Fix backslash as root dir breaks lexicall...

RichardLuo via All-commits all-commits at lists.llvm.org
Fri Aug 16 06:27:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa427b1aae445ed46d9f60c5e2eaac61bdf76be3
      https://github.com/llvm/llvm-project/commit/aa427b1aae445ed46d9f60c5e2eaac61bdf76be3
  Author: RichardLuo <CommAdama at outlook.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M libcxx/src/filesystem/path.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp

  Log Message:
  -----------
  [libc++] Fix backslash as root dir breaks lexically_relative, lexically_proximate and hash_value on Windows (#99780)

Various functions like hash_value, lexically_proximate and lexically_relative
would incorrectly handle backslashes in the root directory on Windows, causing
behavior that is inconsistent with the equality comparison for a path.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list