Ticket UUID: | 1274120 | |||
Title: | package overwrites ::v | |||
Type: | Bug | Version: | None | |
Submitter: | dgp | Created on: | 2005-08-26 15:40:48 | |
Subsystem: | crc | Assigned To: | patthoyts | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2005-08-26 23:59:51 | |
Resolution: | Fixed | Closed By: | andreas_kupries | |
Closed on: | 2005-08-26 16:59:51 | |||
Description: |
The crc packages writes to the variable "v" without resolution control. This means if a variable ::v exists, it will be overwritten by the crc16 and crc32 packages. Attached patch corrects the problem. Patch also adds int(.) coercion protection to the calculation of signbit to avoid trouble if/when Tcl converts to supporting bignums. | |||
User Comments: |
andreas_kupries added on 2005-08-26 23:59:51:
Logged In: YES user_id=75003 Accepted and committed the patch. I also added an "unset v" statement after the loop, as the variable is not really needed after the initialization. dgp added on 2005-08-26 22:40:52: File Added - 147089: crc.patch |
Attachments:
- crc.patch [download] added by dgp on 2005-08-26 22:40:49. [details]