glob command fails with leading digit
Closed / Invalid432842ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-06-13 17:47:23
The glob command on Redhat Linux 2.4.2 systems fails to find files with leading digits. Please see the following example % exec ls 6H-SiC_001-Ni_A.gm rftp % glob * rftp %
dkf Ticket [432842ffff]: 1 change
[History diff]2001-07-08 03:50:02
andreas_kupriesplain2001-08-23 05:52:23
Logged In: YES user_id=75003 Has this changed with the new VFS code ?
vincentdarleyplain2001-08-23 22:46:33
Logged In: YES user_id=32170 I echo Andreas's question, and would also like to ask whether the '6H...' file in question is an ordinary file or a link/socket or something else?
sakajiharaplain2001-08-29 20:38:18
Logged In: YES user_id=244254 I am not sure which version has the new VFS code. I have only installed Tcl 8.3.3 at this point as this was the released version. The file in question is an ordinary file. In fact, testing a link which does not begin with a digit does not exhibit this problem; it would appear that the problem is with the file name as opposed to the file type. I have installed Tcl 8.3.3 on SGI IRIX, IBM AIX, Compaq Alpha Tru64, Sun SunOS, and Linux RedHat platforms. Only the Linux platform exhibits this problem. This is true of the system-distributed version as well as own build.
nobodyplain2001-08-29 21:51:29
Logged In: NO The new VFS code is in 8.4a3 or newer (i.e. best to just grab the cvs head). It would be helpful if you could test with that, since the 'glob' code has undergone very large changes -- Vince.
sakajiharaplain2001-08-30 01:23:53
Logged In: YES
user_id=244254
Have built Tcl 8.4.a3. Now the output looks like:
% ls
0aaa something
% glob *
0aaa
So, it would appear that although the problem that reported
has been fixed, the opposite problem has been created.
Scott Kajihara
vincentdarleyplain2001-08-30 01:29:42
Logged In: YES user_id=32170 What happens when you run Tcl's testsuite? I must say this all looks rather odd. I ran the Tcl 8.4a4 (i.e. latest cvs) testsuite on Redhat linux the other day with no filesystem problems at all... Vince.
sakajiharaplain2001-08-31 19:58:41
Logged In: YES user_id=244254 Please close this. After looking more carefully at the test error messages as well as changing the filesystem in which working, found that the problem was not due to Tcl, but a problem on the NFS-mounted directories in which doing the test. Sorry for the problem report not related to Tcl.
vincentdarley Closed ticket [432842ffff].
[History diff]2001-08-31 20:19:00
Log in (anonymous is fine) to add a comment.