Overview
| Artifact ID: | 0045816fdf6f7b3295610eed08e17f73d674d7e1 |
|---|---|
| Ticket: | 971976ffffffffffffffffffffffffffffffffff
Inconsistent naming in [file exists] |
| User & Date: | dgp on 2004-07-15 23:26:55 |
Changes
- icomment:
Logged In: YES user_id=80530 Look back at the original report, it appears the root cause is a flaw in the NativeCreateNativeRep() routine. The access() system call that actually does the work is found in the TclpObjAccess() routine in, say, tclUnixFile.c. At that point the string rep of the pathPtr value still contains the trailing '/'. However, the routine Tcl_FSGetNativePath() is called to get the string to pass to access(). One thing that routine is supposed to do is the system encoding conversion. Something else it *is* doing, and this bug report claims it should not do, is dropping that trailing '/'. The logic of NativeCreateNativeRep needs examination.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"