Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-08-24
01:30 • Closed ticket [450340ffff]: fs updates to improve vfs support plus 7 other c... artifact: 05249c2e4f user: vincentdarley
2001-08-23
23:28 • Ticket [450340ffff]: 4 changes artifact: 99a7809859 user: dgp
23:28 • Add attachment vfs.patch to ticket [450340ffff] artifact: 5fea3b2a7c user: dgp
22:44 • Add attachment vfsUpdate5.patch.gz to ticket [450340ffffffffff|450340ff... artifact: 36ebab86d8 user: vincentdarley
22:44 • Ticket [450340ffff] fs updates to improve vfs support status still Open with... artifact: fc18506b79 user: vincentdarley
05:21 • Ticket [450340ffff]: 4 changes artifact: 86ee2e87de user: dgp
05:20 • Ticket [450340ffff]: 4 changes artifact: fc22caef34 user: dgp
05:20 • Ticket [450340ffff]: 4 changes artifact: e2401e5b15 user: dgp
2001-08-22
23:36 • Ticket [450340ffff]: 4 changes artifact: d949ba1696 user: vincentdarley
23:36 • Ticket [450340ffff]: 4 changes artifact: d2567f8b55 user: vincentdarley
22:32 • Ticket [450340ffff]: 5 changes artifact: d645d76978 user: vincentdarley
2001-08-17
23:13 • Ticket [450340ffff]: 4 changes artifact: 486c28003c user: vincentdarley
23:13 • Ticket [450340ffff]: 4 changes artifact: dfb58fcd30 user: vincentdarley
01:00 • Ticket [450340ffff]: 4 changes artifact: b25478be70 user: vincentdarley
01:00 • Ticket [450340ffff]: 4 changes artifact: 055905e795 user: vincentdarley
2001-08-13
03:56 • Ticket [450340ffff]: 4 changes artifact: 49b2fb0c39 user: vincentdarley
2001-08-12
20:54 • New ticket [450340ffff]. artifact: ce929ed023 user: nobody

fs updates to improve vfs support

Closed / Accepted450340ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-08-12 20:54:12
The attached patch makes a small changes to the new 
(vfs-tip17) APIs provided in 8.4a3 so that filesystems 
which support the operation can provide not only 
a 'readlink' command (as before) but also can make 
links.  The patch renames 'Tcl_FSReadLink' 
to 'Tcl_FSLink', with a changed signature, which is 
now capable of both actions.  The patch introduces an 
incompatibility with 8.4a3, but not with anything 
older.  Nothing changes at the Tcl level (although of 
course it would be good to expose this to Tcl 
eventually)

Impacted files are tclIOUtil.c, tclTest.c, tcl
(Mac|Win|Unix)File.c and an entry in the stub tables.
vincentdarleyplain2001-08-13 03:56:12
File Added - 9478: fslink.patch

Logged In: YES 
user_id=32170

patch attached (sourceforge had some odd .class error last 
time!)
vincentdarleyplain2001-08-17 01:00:18
File Added - 9610: vfsUpdate.patch

Logged In: YES 
user_id=32170

Updating with patch which generally updates and fixed parts 
of the FS code.  While nothing was specifically broken 
before (i.e. test suite worked), this update allows for 
more flexible vfs support and improves efficiency.  It 
passes the test suite on Win, but needs testing on Unix and 
MacOS.
vincentdarleyplain2001-08-17 01:00:19
File Deleted - 9478:
vincentdarleyplain2001-08-17 23:13:06
Logged In: YES 
user_id=32170

Adding further use of objectified APIs.  Still passes all 
tests on Windows.
vincentdarleyplain2001-08-17 23:13:07
File Deleted - 9610: 



File Added - 9638: vfsUpdate2.patch
vincentdarleyplain2001-08-22 22:32:33
File Deleted - 9638: 



File Added - 9848: vfsUpdate3.patch.gz

Logged In: YES 
user_id=32170

Attached new patch which should pass all tests.
vincentdarleyplain2001-08-22 23:36:15
Logged In: YES 
user_id=32170

The cvs head changed again, so I updated the patch.  The 
latest tclvfs package can now manipulate things 
like 'ftp://ftp.scriptics.com/readme.txt' as real paths 
once this patch has been applied.
vincentdarleyplain2001-08-22 23:36:16
File Deleted - 9848: 



File Added - 9850: vfsUpdate4.patch.gz
dgpplain2001-08-23 05:20:04
Logged In: YES 
user_id=80530

After patching with vfsUpdate4.patch, Tcl doesn't
build.  Compiler errors in unix/tclUnixFileCmd.c.

Here is vfs.patch, a corrected version of the patch
that compiles and links.  However, the resulting
Tcl fails 12 tests.  See attached file test.results.
It looks like the failing tests have to do with
platform-specific differences in parsing of path names.
Perhaps the tests just need to be limited to appropriate
platforms?
dgpplain2001-08-23 05:20:05
File Added - 9866: vfs.patch
dgpplain2001-08-23 05:21:34
File Added - 9867: test.results
vincentdarleyplain2001-08-23 22:44:35
File Deleted - 9850: 



File Added - 9897: vfsUpdate5.patch.gz

Logged In: YES 
user_id=32170

Attached newer patch which should, I think, fix those cross-
platform test suite bugs (there are some interesting 
subtleties when the test suite asks one platform to pretend 
to be another).

Also updated patch for latest cvs head.
dgpplain2001-08-23 23:28:43
File Deleted - 9867: 



File Added - 9900: vfs.patch

Logged In: YES 
user_id=80530

Woo hoo!  No more test suite failures than 
an unpatched Tcl.  I think that's it.

I'm attaching a alternate version of the same
patch, vfs.patch, for those who prefer an
uncompressed patch with Unix line endings.
vincentdarleyplain2001-08-24 01:30:16
Logged In: YES 
user_id=32170

Applied patch to cvs head.
Log in (anonymous is fine) to add a comment.

Attachments: