[Bug stdio/22759] New: Test nptl/tst-stdio1 doesn't follow the latest POSIX

tuliom at linux dot vnet.ibm.com sourceware-bugzilla@sourceware.org
Mon Jan 29 18:12:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=22759

            Bug ID: 22759
           Summary: Test nptl/tst-stdio1 doesn't follow the latest POSIX
           Product: glibc
           Version: 2.27
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: tuliom at linux dot vnet.ibm.com
  Target Milestone: ---

The following paragraph was added in a recent change to POSIX:

    A call to exit() can block until locked streams are unlocked because a
thread having ownership of a
    (FILE*) object blocks all function calls that reference that (FILE*) object
(except those with names
    ending in _unlocked) from other threads, including calls to exit().

Source:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/flockfile.html#tag_16_146

However, nptl/tst-stdio1 expects that exit() should terminate all threads and
treats timeouts as failures.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list