| Anonymous | Login | Signup for a new account | 2010-02-09 16:25 UTC |
| Main | My View | View Issues | Change Log | Docs |
| 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 | |||||||||||||
|
|
|||||||||||||
| There are no notes attached to this issue. |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |