View Issue Details

IDProjectCategoryView StatusLast Update
0001672Issue 8 draftsSystem Interfacespublic2024-06-11 09:12
Reportergeoffclare Assigned To 
PrioritynormalSeverityCommentTypeClarification Requested
Status ClosedResolutionAccepted 
Product VersionDraft 3 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionlockf()
Page Number1355
Line Number45590
Final Accepted Text
Summary0001672: Wording improvement to lockf() APPLICATION USAGE
DescriptionBug 0000768 added a paragraph to the fcntl() APPLICATION USAGE that was based on existing text on the lockf() page, but with improved wording. The same wording improvement should be made on the lockf() page.
Desired ActionChange:
Record-locking should not be used in combination with the fopen(), fread(), fwrite(), and other stdio functions. Instead, the more primitive, non-buffered functions (such as open()) should be used. Unexpected results may occur in processes that do buffering in the user address space. The process may later read/write data which is/was locked. The stdio functions are the most common source of unexpected buffering.
to:
Record-locking should not be used in combination with buffered standard I/O streams (see [xref to Section 2.5]). Instead, non-buffered I/O should be used. Unexpected results may occur in processes that do buffering in the user address space. The process may later read/write data which is/was locked. Functions that operate on standard I/O streams are the most common source of such buffering.

Tagsapplied_after_i8d3, issue8

Relationships

related to 0000768 Closed 1003.1(2013)/Issue7+TC1 add "fd-private" POSIX locks to spec 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-04-18 09:11 geoffclare New Issue
2023-04-18 09:11 geoffclare Name => Geoff Clare
2023-04-18 09:11 geoffclare Organization => The Open Group
2023-04-18 09:11 geoffclare Section => lockf()
2023-04-18 09:11 geoffclare Page Number => 1355
2023-04-18 09:11 geoffclare Line Number => 45590
2023-04-18 09:12 geoffclare Relationship added related to 0000768
2023-06-12 15:51 Don Cragun Status New => Resolved
2023-06-12 15:51 Don Cragun Resolution Open => Accepted
2023-06-12 15:51 Don Cragun Tag Attached: issue8
2023-07-03 10:49 geoffclare Status Resolved => Applied
2023-07-03 10:49 geoffclare Tag Attached: applied_after_i8d3
2024-06-11 09:12 agadmin Status Applied => Closed