Overview
| Artifact ID: | 2bf1806588da4ae21850214d09680d2ffeb6badbb803c38dd59cb9a765b432d0 |
|---|---|
| Ticket: | e5c21e566ff31a51f85bf12e0b5031993a3c4b4a
inconsistent handling of glob -nocomplain |
| User & Date: | dgp on 2025-08-13 17:57:09 |
Changes
- icomment:
[glob -nocomplain] was always a terrible name. We have to live with that. [glob -nocomplain] does not mean [glob -SuppressAllReportingOfAllErrors] [glob -nocomplain] means [glob -DontRaiseAnErrorForNoOtherReasonThanTheResultIsEmpty-NoThinkingPersonBelievesAnEmptyResultIsAnErrorCondition] If [glob] encounters an error in its operations, the error should be reported. If [glob] does not encounter an error, an empty result should not prompt the creation of an error as if an empty result is an error condition. It's a good thing to track down inconsistencies in [glob -directory $permissionDenied]. It surprises me that such an error would not be reported. The programmer should want to know they've coded a directory name that is inaccessible. In any event, please don't change the meaning of [glob -nocomplain] while fixing the bugs in [glob -directory].
- login: "dgp"
- mimetype: "text/plain"