Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-08-20
10:04 • Closed ticket [596034ffff]: apparent inconsistent error msgs plus 7 other ch... artifact: b69683ff43 user: andreas_kupries
09:57 • Ticket [596034ffff]: 4 changes artifact: 2c483a120a user: andreas_kupries
2002-08-19
23:39 • Ticket [596034ffff]: 6 changes artifact: 4ce39bb69a user: dgp
2002-08-16
21:29 • Ticket [596034ffff]: 1 change artifact: c81b160c4f user: dgp
13:23 • New ticket [596034ffff]. artifact: 99c2703a5b user: lvirden

apparent inconsistent error msgs

Closed / Fixed596034ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-08-16 13:23:14
In tclUnixTest.c, one error msg is worded:

should be file readable|writable|both timeout

but another says 

wait index readable/writable timeout

Should the first one use / or the second one use | ?  I
think I would prefer the / over the | simply because |
might be read as a pipe character; in either case,
using a consistent notation seems preferable.
dgp Ticket [596034ffff]: 1 change [History diff]2002-08-16 21:29:36
dgpplain2002-08-19 23:39:07
Logged In: YES 
user_id=80530


That routine tests tclUnixChan.c
andreas_kupriesplain2002-08-20 09:57:16
Logged In: YES 
user_id=75003

I prefer the |.

In the context of syntax rules this is the usual
character to denote alternatives. Here, and in
boolean expressions, it does mean 'or'.
(A|B) = (A or B)
andreas_kupriesplain2002-08-20 10:04:39
Logged In: YES 
user_id=75003

Committed a fix.
Log in (anonymous is fine) to add a comment.