Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cpython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cpython
  • Repository
  • cpython
  • Modules
  • _fileio.c
Find file BlameHistoryPermalink
  • Thomas Heller's avatar
    Second part of sf# 1752225: On windows, emulate ftruncate with Win32 · fdeee3a6
    Thomas Heller authored Jul 12, 2007
    api functions. Code from fileobject.c, patch by Amaury Forgeot d'Arc.
    
    This patch also changes:
    
    The return value of the native ftruncate function is checked for '!=
    0' instead of '< 0' as before.
    
    fileio_seekable returns bool now instead of an int.
    fdeee3a6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7