Tk Library Source Code

View Ticket
Login
Ticket UUID: 784157
Title: ::fileutil::find is now dependent upon Tcl8.4
Type: Bug Version: None
Submitter: jhjl Created on: 2003-08-06 13:01:12
Subsystem: fileutil Assigned To: andreas_kupries
Priority: 8 Severity:
Status: Closed Last Modified: 2003-08-07 05:43:45
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2003-08-06 22:43:45
Description:
In fixing fileutil.tcl: Fixed SF tcllib bug [647974], the 
Tcl8.4 [file system ...] command was used in the ::find 
proc. 

The fileutil.tcl has a package require for 8.2 but 
Tcl8.2 ... Tcl8.3 interpreters will no longer be able to 
use ::fileutil::find or ::fileutil::findByPattern
User Comments: andreas_kupries added on 2003-08-07 05:43:45:
Logged In: YES 
user_id=75003

Fixed in the CVS head. The code now distinguishes pre/post 
8.4. In pre 8.4 we use the old code, with unconditional 
checking of device/inode. In post 8.4 we use the [file system] 
to deactivate dev/inode checks when needed. While [file 
system] is still present in the code it is not executed in pre 
8.4 interpreters anymore.