Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,347
    • Issues 5,347
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 572
    • Merge requests 572
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Repository
Switch branch/tag
  • ghc
  • libraries
  • base
  • GHC
  • IO
  • BufferedIO.hs
Find file BlameHistoryPermalink
  • joeyadams's avatar
    BufferedIO: fix bug in writeBufNonBlocking introduced by commit 7d39e100 · 0862dcc5
    joeyadams authored Dec 24, 2012
    bufferAdjustL does nothing but update bufL, and set bufL = bufR = 0
    when bufL == bufR.  It ignores the old bufL.
    
    writeBufNonBlocking is currently unused.  It is only used to implement
    flushWriteBuffer0, which is never called by base
    (hPutBufNonBlocking uses a blocking flush).
    0862dcc5