cd "" - strange error message
Closed / Fixed704917ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-17 11:07:52
cd "" does not make much sense, but produces the following error messages: Windows 2000, 8.4.1 % cd "" couldn't change working directory to "": No error Solaris (8.4.1): % cd "" couldn't change working directory to "": Error 0 Richard [email protected]
nobodyplain2003-03-17 18:55:30
Logged In: NO Curiouser and curiouser (RS again): % info pa 8.4.1 % cd "" couldn't change working directory to "": Success % array get tcl_platform osVersion 2.4.19-64GB-SMP byteOrder littleEndian machine i686 platform unix os Linux user suchenwi wordSize 4
vincentdarleyplain2003-03-17 22:22:13
Logged In: YES
user_id=32170
Ok, this is an easy fix. One needs to add:
} else {
Tcl_SetErrno(ENOENT);
near the end of Tcl_FSChdir(...) so that the end of that
function reads:
Tcl_MutexUnlock(&cwdMutex);
}
} else {
Tcl_SetErrno(ENOENT);
}
return (retVal);
}
If anyone wishes to check this into the 8.4.2 branch,
that would be great. I'm working on a number of
filesystem efficiency/simplification issues for the 8.5
branch at the moment.
vincentdarley Closed ticket [704917ffff].
[History diff]2003-04-11 23:32:03
Log in (anonymous is fine) to add a comment.