]> granicus.if.org Git - python/commit
Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode(). Use...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Thu, 26 Apr 2007 09:15:08 +0000 (09:15 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Thu, 26 Apr 2007 09:15:08 +0000 (09:15 +0000)
commit0a440d41844aac25178400d33d714d8e479b86d4
tree85932752a2f3ec1070e5cf231717a50fb603630a
parent452f5df64a09e6e50a2d861fa1d18e0bbea7ca4a
Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode().  Use this function in posixmodule.c when implementing fdopen().  This fixes test_subprocess.py for a VisualStudio 2005 compile.
Include/fileobject.h
Modules/posixmodule.c
Objects/fileobject.c