[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2011-05-15 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I'll close this entry because #12084 contains this fix. -- status: open -> closed superseder: -> os.stat() on windows doesn't consider relative symlink ___ Python tracker _

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-12-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file18979/py3k_fix_leak_around_GetFinalPathNameByHandle.patch ___ Python tracker ___ _

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-12-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: This is updated version. Can you test this? (I only fixed leak, deferred other fixes to future) -- Added file: http://bugs.python.org/file19985/py3k_fix_leak_around_GetFinalPathNameByHandle_v2.patch ___ Python tr

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Brian Curtin
Brian Curtin added the comment: The tests pass here, but I haven't thoroughly reviewed the patch yet. After a quick glance it generally looks ok, although I wish we didn't have so much duplication. -- ___ Python tracker

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I cannot test this directly. Thank you. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Extension Modules nosy: +brian.curtin, jaraco stage: -> patch review type: -> resource usage ___ Python tracker ___ ___

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- Removed message: http://bugs.python.org/msg117199 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: About buffer size, GetFinalPathNameByHandle may return the length or string or the size of required buffer size (the length of striing + 1) depending on platforms and ANSI/WIDE version. If function returns the length of string buffer size, buf_size + 1 is bu

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : I've found there are leaks around GetFinalPathNameByHandle in Modules/posixmodule.c. (Leaks when function fails) I hope attached patch will fix this. -- components: Windows files: py3k_fix_leak_around_GetFinalPathNameByHandle.patch keywords: patch