A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=697 ====================================================================== Reported By: steffen Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 697 Category: System Interfaces Type: Clarification Requested Severity: Comment Priority: normal Status: New Name: Steffen Nurpmeso Organization: User Reference: Section: none Page Number: none Line Number: none Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2013-05-15 10:31 UTC Last Modified: 2020-08-28 22:52 UTC ====================================================================== Summary: Adding of a getdirentries() function ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0000696 either NAME_MAX shouldn't be optional, ... ======================================================================
---------------------------------------------------------------------- (0004953) philip-guenther (reporter) - 2020-08-28 22:52 https://www.austingroupbugs.net/view.php?id=697#c4953 ---------------------------------------------------------------------- I think the unspecified nature of the d_name member in the new posix_dent makes writing portable software more difficult while providing only minimal benefit to programs that don't care. I would support requiring it to be a flexible array member and thus eliminating the error of declaring an array and trying to walk it via indexing instead of by advancing a char pointer by d_reclen. (The unspecified nature of d_name in struct dirent made using readdir_r() unnecessarily painful; thankfully the push to use that API is dead with the wide recognition that readdir() is thread safe on a per-DIR basis, but the memory of that pain lingers.) Issue History Date Modified Username Field Change ====================================================================== 2013-05-15 10:31 steffen New Issue 2013-05-15 10:31 steffen Name => Steffen Nurpmeso 2013-05-15 10:31 steffen Section => none 2013-05-15 10:31 steffen Page Number => none 2013-05-15 10:31 steffen Line Number => none 2013-05-15 22:08 jilles Note Added: 0001607 2013-05-16 10:22 steffen Note Added: 0001608 2013-05-30 15:37 eblake Relationship added related to 0000696 2013-05-30 15:57 geoffclare Note Added: 0001629 2014-03-30 00:33 sstewartgallus Issue Monitored: sstewartgallus 2020-08-28 08:21 geoffclare Note Added: 0004947 2020-08-28 08:27 geoffclare Note Edited: 0004947 2020-08-28 17:07 shware_systems Note Added: 0004948 2020-08-28 17:52 kre Note Added: 0004949 2020-08-28 22:42 philip-guentherNote Added: 0004952 2020-08-28 22:52 philip-guentherNote Added: 0004953 ======================================================================
