]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29248: Fix os.readlink() on Windows (GH-5577)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Feb 2018 21:39:42 +0000 (13:39 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 21:39:42 +0000 (13:39 -0800)
commit74ebbaeb566dc10031756430ec5c896e56d0e491
tree8b988dfcb2238b2452c7a7b8a6964712cab5a404
parent38b4dd7f83fbdce6fe970088cd89b80f074a13f6
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