View Issue Details

IDProjectCategoryView StatusLast Update
00006521003.1(2008)/Issue 7System Interfacespublic2024-06-11 08:52
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityCommentTypeEnhancement Request
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionmkdtemp
Page Number1293
Line Number42463
Interp Status---
Final Accepted Text
Summary0000652: Add an EINVAL error for mkstemp()
DescriptionThere is an inconsistency between mkdtemp() and mkstemp() in that
mkdtemp() is required to return an EINVAL error if the template does
not end in "XXXXXX", whereas mkstemp() is not.

The suggested change adds a mandatory ("shall fail") EINVAL error
for mkstemp(). Since this is a new requirement on implementations
it should be made in Issue 8. Alternatively, a "may fail" error could
be added in TC2. (Or both could be done, but if a mandatory error
is going to be added in Issue 8 there is little to be gained by
adding an optional error in TC2 first.)
Desired ActionAt page 1292 line 42441 change:

    The mkdtemp() function shall fail if:

    [EACCES] ...

    [EINVAL] ...

to:

    These functions shall fail if:

    [EINVAL] ...

    The mkdtemp() function shall fail if:

    [EACCES] ...

At page 1293 line 42463 change:

    The error conditions for the mkstemp() function are defined in
    open().

to:

    Additional error conditions for the mkstemp() function are defined
    in open().
Tagsissue8

Relationships

related to 0000411 Closedajosey adding atomic FD_CLOEXEC support 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-02-06 12:02 geoffclare New Issue
2013-02-06 12:02 geoffclare Status New => Under Review
2013-02-06 12:02 geoffclare Assigned To => ajosey
2013-02-06 12:02 geoffclare Name => Geoff Clare
2013-02-06 12:02 geoffclare Organization => The Open Group
2013-02-06 12:02 geoffclare Section => mkdtemp
2013-02-06 12:02 geoffclare Page Number => 1293
2013-02-06 12:02 geoffclare Line Number => 42463
2013-02-06 12:02 geoffclare Interp Status => ---
2013-02-28 17:10 Don Cragun Status Under Review => Resolved
2013-02-28 17:10 Don Cragun Resolution Open => Accepted
2013-02-28 17:10 Don Cragun Tag Attached: issue8
2020-03-23 10:44 geoffclare Status Resolved => Applied
2020-05-13 15:31 geoffclare Relationship added related to 0000411
2024-06-11 08:52 agadmin Status Applied => Closed