Tcl Source Code

View Ticket
Login
Ticket UUID: 441230
Title: Duplicate SCAN_* #defines
Type: Bug Version: obsolete: 8.4a3
Submitter: dgp Created on: 2001-07-14 00:45:33
Subsystem: 18. Commands M-Z Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-07-17 01:36:09
Resolution: Fixed Closed By: hobbs
    Closed on: 2001-07-16 18:36:09
Description:
Somehow when [scan] was updated to handle Unicode
for Tcl 8.1, and the new file generic/tclScan.c
was added, a set of macros #defines of SCAN_* -- flag
values -- were added to the tops of both
generic/tclScan.c and generic/tclCmdMZ.c.

These definitions only need to be in one place, and
their values are not used in generic/tclCmdMZ.c.
User Comments: hobbs added on 2001-07-17 01:36:09:
Logged In: YES 
user_id=72656

Commited to 8.4a3cvs.

dkf added on 2001-07-14 19:44:04:
Logged In: YES 
user_id=79902

(Hi! I've not gone yet, but won't be able to fix anything in the intervening time.) I suspect that the 
problem is caused by the fact that [scan] used to be in tclCmdMZ.c but isn't any more and that whoever 
made the move forgot to delete those flags.  Easily done... :^)

dgp added on 2001-07-14 08:15:07:

File Added - 8412: scan.patch

Logged In: YES 
user_id=80530

Here's the patch removing the extra #defines.

Assigning to (non-vacationing) maintainer for review.

Attachments: