[PATCH v3 2/2] Cygwin: expose all windows volume mount points.

Jeremy Drake cygwin@jdrake.com
Wed Feb 12 22:06:45 GMT 2025


On Wed, 12 Feb 2025, Jeremy Drake via Cygwin-patches wrote:

> It was *supposed* to not return the second one.  Maybe I broke it when
> trying to break out of the loop early...  I will test this scenario and
> see why it doesn't work as expected.

Yeah, I never actually looked at how posix_sorted was sorted.  It's sorted
by length first, then by strcmp.  This was probably a premature
optimization anyway.  conv_to_posix_path doesn't try to bail early, it
just continues, and that's going to be a much more common code path than
this...


More information about the Cygwin-patches mailing list