View Issue Details

IDProjectCategoryView StatusLast Update
00019381003.1(2024)/Issue8System Interfacespublic2025-08-15 09:50
Reporterlanodan Assigned To 
PrioritynormalSeverityEditorialTypeError
Status Interpretation RequiredResolutionAccepted As Marked 
NameHaelwenn Monnier
Organization
User Reference
Sectionalphasort
Page Number614
Line Number21771-21772
Interp StatusProposed
Final Accepted Text0001938:0007232
Summary0001938: scandir() should set errno to indicate the error
DescriptionLuca Kellermann on https://www.openwall.com/lists/musl/2025/07/21/5 has noted few things about the current spec, notably including:

* The RETURN VALUE section does not explicitly say that errno shall
  be set on error.
Desired ActionPage 614 lines 21771-21772, change:
Otherwise, the scandir( ) function shall return −1.

to:
Otherwise, the scandir( ) function shall return −1 and set errno to indicate the error.
Tagstc1-2024

Activities

geoffclare

2025-07-24 16:46

manager   bugnote:0007232

Last edited: 2025-08-14 15:22

Interpretation response
------------------------

The standard does not speak to this issue, and as such no conformance distinction can be made between alternative implementations based on this.
This is being referred to the sponsor.

Rationale:
-------------
None.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------
Make the change in the desired action.

agadmin

2025-08-15 09:50

administrator   bugnote:0007235

Interpretation proposed: 15 August 2025

Issue History

Date Modified Username Field Change
2025-07-24 15:02 lanodan New Issue
2025-07-24 16:46 geoffclare Note Added: 0007232
2025-08-14 15:22 geoffclare Note Edited: 0007232
2025-08-14 15:23 geoffclare Status New => Interpretation Required
2025-08-14 15:23 geoffclare Resolution Open => Accepted As Marked
2025-08-14 15:23 geoffclare Interp Status => Pending
2025-08-14 15:23 geoffclare Final Accepted Text => 0001938:0007232
2025-08-14 15:24 geoffclare Tag Attached: tc1-2024
2025-08-15 09:50 agadmin Interp Status Pending => Proposed
2025-08-15 09:50 agadmin Note Added: 0007235