| Ticket UUID: | 1769140 | |||
| Title: | findByPattern has problems with NFS-style basedirs | |||
| Type: | Bug | Version: | None | |
| Submitter: | nobody | Created on: | 2007-08-07 11:18:15 | |
| Subsystem: | fileutil | Assigned To: | andreas_kupries | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2007-08-09 02:47:09 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2007-08-08 19:47:09 | |||
| Description: |
Solaris 8 Tcl 8.4 If ::fileutil::findByPattern is fed a basedir in the form /net/<machine>/export/disk1/... the resulting file names have the form /export/disk1/... ie the NFS portion of the base directory has been removed. [email protected] | |||
| User Comments: |
andreas_kupries added on 2007-08-09 02:47:09:
Logged In: YES user_id=75003 Originator: NO Ok. Fixed with the recent rewrite of fileutil::find, and committed to CVS head. andreas_kupries added on 2007-08-07 23:13:50: Logged In: YES user_id=75003 Originator: NO fileutil::findByPattern is based on fileutil::find and this command likely exhibits the same behavior. IIRC the basedir is 'normalized' and you get that back in the results. I.e. [file normalize /net/<machine>/export/disk1/...] is '/export/disk1/...'. IIRC (again) this is cross-platform behavior. There are efforts underway to redo fileutil::find to be more maintainable (currently we have about 3 or 4 variant implementations for win vs unix, Tcl 8.4+ vs Tcl 8.3- etc.). This report could be addressed as part of that work. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki