mattip committed 2626cba

minimal change to call validate_fd in 's fdopen()

  • Participants
  • Parent commits b972b2e
  • Branches win32-cleanup2

Comments (0)

Files changed (1)


     # XXX XXX XXX you want do check whether the modes are compatible
     # otherwise you get funny results
     os_flags, universal, reading, writing, basemode, binary = decode_mode(mode)
+    rposix.validate_fd(fd)
     stream = DiskFile(fd)
     return construct_stream_tower(stream, buffering, universal, reading,