Austin Group Defect Tracker

Aardvark Mark III


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000118 [1003.1(2008)/Issue 7] System Interfaces Objection Error 2009-07-10 15:41 2009-08-13 16:14
Reporter geoffclare View Status public  
Assigned To ajosey
Priority normal Resolution Accepted  
Status Resolved  
Name Geoff Clare
Organization The Open Group
User Reference
Section flockfile
Page Number 859
Line Number 28511
Interp Status ---
Final Accepted Text
Summary 0000118: flockfile() says "all functions" but should exclude *_unlocked()
Description The flockfile page says:

    "All functions that reference (FILE *) objects shall behave as if
    they use flockfile() and funlockfile() internally to obtain
    ownership of these (FILE *) objects."

This contradicts the descriptions of getc_unlocked(), putc_unlocked(),
etc. which say:

    "These functions may safely be used in a multi-threaded program if
    and only if they are called while the invoking thread owns the
    (FILE *) object, as is the case after a successful call to the
    flockfile() or ftrylockfile() functions."
Desired Action Change:

    "All functions that reference (FILE *) objects shall behave ..."

to:

    "All functions that reference (FILE *) objects, except those
    with names ending in _unlocked, shall behave ..."
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-07-10 15:41 geoffclare New Issue
2009-07-10 15:41 geoffclare Status New => Under Review
2009-07-10 15:41 geoffclare Assigned To => ajosey
2009-07-10 15:41 geoffclare Name => Geoff Clare
2009-07-10 15:41 geoffclare Organization => The Open Group
2009-07-10 15:41 geoffclare Section => flockfile
2009-07-10 15:41 geoffclare Page Number => 859
2009-07-10 15:41 geoffclare Line Number => 28511
2009-08-13 16:14 ajosey Interp Status => ---
2009-08-13 16:14 ajosey Status Under Review => Resolved
2009-08-13 16:14 ajosey Resolution Open => Accepted


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker