Overview
| Artifact ID: | 55fdc059df713ecbc7755279db5002a3a4008525 |
|---|---|
| Ticket: | 504950ffffffffffffffffffffffffffffffffff
SetFsPathFromAny: ~//foo -> /foo |
| User & Date: | dgp on 2002-01-22 01:31:49 |
Changes
- icomment:
Logged In: YES user_id=80530 Let me ask it this way then. The command [file nativename] is implemented in lines 1016-1032 of tclCmdAH.c as: 1016 case FILE_NATIVENAME: { 1017 char *fileName; 1018 Tcl_DString ds; 1019 1020 if (objc != 3) { 1021 goto only3Args; 1022 } 1023 fileName = Tcl_GetString(objv[2]); 1024 fileName = Tcl_TranslateFileName(interp, fileName, &ds); 1025 if (fileName == NULL) { 1026 return TCL_ERROR; 1027 } 1028 Tcl_SetStringObj(Tcl_GetObjResult(interp), fileName, 1029 Tcl_DStringLength(&ds)); 1030 Tcl_DStringFree(&ds); 1031 return TCL_OK; 1032 } If I want to re-implement so that Tcl_TranslateFileName() is not called, but some of the new VFS-aware routines are called instead, what should I call to get the same results? - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"