diff options
author | vincentdarley <vincentdarley> | 2003-07-28 12:16:01 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2003-07-28 12:16:01 (GMT) |
commit | 73d0a6fc2d48ac4bea1e1ed96781bdd37c33647f (patch) | |
tree | 13eb1a809bb0252d4c7210e93b1fd8a49019cf53 /doc/Translate.3 | |
parent | 36f1698a072c40091f4452ae29366b10cc4be03c (diff) | |
download | tcl-73d0a6fc2d48ac4bea1e1ed96781bdd37c33647f.zip tcl-73d0a6fc2d48ac4bea1e1ed96781bdd37c33647f.tar.gz tcl-73d0a6fc2d48ac4bea1e1ed96781bdd37c33647f.tar.bz2 |
documentation fix, bug 775220
Diffstat (limited to 'doc/Translate.3')
-rw-r--r-- | doc/Translate.3 | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/doc/Translate.3 b/doc/Translate.3 index 1e26d4d..5602424 100644 --- a/doc/Translate.3 +++ b/doc/Translate.3 @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: Translate.3,v 1.6 2002/02/08 02:52:54 dgp Exp $ +'\" RCS: @(#) $Id: Translate.3,v 1.7 2003/07/28 12:16:02 vincentdarley Exp $ '\" .so man.macros .TH Tcl_TranslateFileName 3 8.1 Tcl "Tcl Library Procedures" @@ -33,9 +33,18 @@ anything stored here. .SH DESCRIPTION .PP -This utility procedure translates a file name to a form suitable for -passing to the local operating system. It converts network names into -native form and does tilde substitution. +This utility procedure translates a file name to a platform-specific form +which, after being converted to the appropriate encoding, is suitable for +passing to the local operating system. In particular, it converts +network names into native form and does tilde substitution. +.PP +However, with the advent of the newer \fBTcl_FSGetNormalizedPath\fR and +\fBTcl_GetNativePath\fR, there is no longer any need to use this +procedure. In particular, \fBTcl_GetNativePath\fR performs all the +necessary translation and encoding conversion, is virtual-filesystem +aware, and caches the native result for faster repeated calls. +Finally \fBTcl_GetNativePath\fR does not require you to free anything +afterwards. .PP If \fBTcl_TranslateFileName\fR has to do tilde substitution or translate |