]> granicus.if.org Git - python/commit
bpo-29248: Fix os.readlink() on Windows (GH-5577)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Feb 2018 18:14:08 +0000 (10:14 -0800)
committerBerker Peksag <berker.peksag@gmail.com>
Mon, 12 Feb 2018 18:14:08 +0000 (21:14 +0300)
commita1d33f742515dc70ae99bc3ea1c851729522afc3
tree3190793be10eb96fd47ea0c44e22c8e8d3e545d5
parent6708be744d032aeffab3e2cf0b064a41a719d8a1
bpo-29248: Fix os.readlink() on Windows (GH-5577)

The PrintNameOffset field of the reparse data buffer
was treated as a number of characters instead of bytes.

(cherry picked from commit 3c34aad4e7a95913ec7db8e5e948a8fc69047bf7)

Co-authored-by: SSE4 <tomskside@gmail.com>
Lib/test/test_os.py
Misc/NEWS.d/next/Windows/2018-02-07-17-50-48.bpo-29248.Xzwj-6.rst [new file with mode: 0644]
Modules/posixmodule.c