This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]