A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1255 ====================================================================== Reported By: stephane Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1255 Category: System Interfaces Type: Enhancement Request Severity: Objection Priority: normal Status: New Name: Stephane Chazelas Organization: User Reference: Section: glob(), EXAMPLES section Page Number: 1111 (in the 2018 edition) Line Number: 37598 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2019-06-08 12:31 UTC Last Modified: 2019-07-18 12:08 UTC ====================================================================== Summary: improper shell code in glob() example ======================================================================
---------------------------------------------------------------------- (0004486) geoffclare (manager) - 2019-07-18 12:08 http://austingroupbugs.net/view.php?id=1255#c4486 ---------------------------------------------------------------------- If we add GLOB_NOCHECK as suggested to reduce the difference between using glob()+execvp() and executing "ls -ld -- *.c" in the shell, then we should add GLOB_ERR as well. I don't like the half-way-house error checking that just calls abort(). We should either not add error checking (do we do it in any other example application code?) or add "proper" error checking. Issue History Date Modified Username Field Change ====================================================================== 2019-06-08 12:31 stephane New Issue 2019-06-08 12:31 stephane Name => Stephane Chazelas 2019-06-08 12:31 stephane Section => glob(), EXAMPLES section 2019-06-08 12:31 stephane Page Number => 1111 (in the 2018 edition) 2019-06-08 12:31 stephane Line Number => 37598 2019-07-18 12:08 geoffclare Note Added: 0004486 ======================================================================
