SIGN IN SIGN UP

bpo-38322: Fix gotlandmark() of PC/getpathp.c (GH-16489)

Write the filename into a temporary buffer instead of reusing prefix.
The problem is that join() modifies prefix inplace. If prefix is not
normalized, join() can make prefix shorter and so gotlandmark()
does modify prefix instead of returning it unmodified.
V
Victor Stinner committed
dec39716ca93ee2e8d9b94915ece33014eb58e9e
Parent: 89f8177
Committed by GitHub <noreply@github.com> on 9/30/2019, 12:49:34 PM