Overview
| Artifact ID: | 4d64c481dc47137bae2a363cbe9308ef42bfc9bf |
|---|---|
| Ticket: | 1084705fffffffffffffffffffffffffffffffff
glob -nocomplain swallows all errors. |
| User & Date: | vincentdarley on 2004-12-14 23:21:08 |
Changes
- icomment:
Logged In: YES user_id=32170 It would've been helpful if you had mentioned that -nocomplain was used in the original report! Tcl's glob has always discarded all errors when using '-nocomplain'. Hence you are asking for a changed behaviour in Tcl. I think the reason for this behaviour is probably that glob takes multiple pattern arguments: glob -nocomplain a* b* ~asdasd is supposed to concatenate the lists for each pattern in turn. Hence -nocomplain's behaviour of ignoring all errors (else an error in one pattern would mess up a different one). I don't necessarily agree that this is good, but Tcl has always done this. In fact I'd be keen to change this behaviour, but am not sure it is possible without a TIP. Vince.
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"