Overview
| Artifact ID: | 70bbbbf5ebf342b580cf14ab59e0ef20cec7411c |
|---|---|
| Ticket: | 800753ffffffffffffffffffffffffffffffffff
-eofchar accepts only single-byte character? |
| User & Date: | stwo on 2007-11-09 23:13:00 |
Changes
- icomment:
Logged In: YES user_id=143350 Originator: NO Currently, -eofchar will not work as expected if the value of -eofchar is outside the range 0x01-0x7f. The -eofchar [fconfigure] option is rarely used. When it is used, it is rare for the value to be other than 0x1a (^Z). Modifying Tcl to accept an -eofchar outside of this range is fraught with complications. It is not worth the effort. If someone does indeed need an -eofchar outside of this range they can speak up and then we (I? Them?) can work towards fixing the problem. Until then, I recommend limiting the accepted range of -eofchar to 0x01-0x7f. Patch submitted (against Tcl8.5b2) to generate an error if -eofchar is outside of that range. The testsuite passes with this patch installed.
- login: "stwo"
- mimetype: "text/plain"
- username: "stwo"