1. 19 Nov, 2014 1 commit
    • Elliott Hughes's avatar
      Fix flockfile(3) and friends for stdin/stdout/stderr too. · 432f6458
      Elliott Hughes authored
      stdin/stdout/stderr are special; their mutexes are initialized by
      __sinit. There's no unit test for this, because __sinit has already
      been called by the time the first unit test runs, but you could
      reproduce this failure with a trivial main() that calls flockfile
      or ftrylockfile on one of the standard streams before otherwise
      using stdio.
      
      Bug: 18208568
      
      (cherry picked from commit c48c3e4b)
      
      Change-Id: Ia0c43ed4ac69daea8152aee9516415a6e3f8a042
      432f6458
  2. 24 Sep, 2014 1 commit
  3. 22 May, 2014 1 commit
    • Elliott Hughes's avatar
      Hide various stdio implementation details. · 2899de9b
      Elliott Hughes authored
      I've left __sF exposed since that's how the OpenBSD stdin, stdout, stderr
      are implemented. Other BSDs and glibc use a separate global for each instead
      of an array.
      
      Bug: 11156955
      Change-Id: I9f3d2d4314a8d4a78c3197b9acd9258820c5f150
      2899de9b
  4. 03 Mar, 2009 2 commits
  5. 21 Oct, 2008 1 commit