summaryrefslogtreecommitdiffstats
path: root/generic/tclPathObj.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-06-01 16:13:39 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-06-01 16:13:39 (GMT)
commitf176fcdf93951d96f0d097343aa76bc97f6fafe0 (patch)
tree528ef69b321212a720a4ab82576c88bfcee3621e /generic/tclPathObj.c
parentd583a8f017ac344a3885545b94db1bdaf2f89913 (diff)
downloadtcl-f176fcdf93951d96f0d097343aa76bc97f6fafe0.zip
tcl-f176fcdf93951d96f0d097343aa76bc97f6fafe0.tar.gz
tcl-f176fcdf93951d96f0d097343aa76bc97f6fafe0.tar.bz2
Some tidying up, mostly of indentation
Diffstat (limited to 'generic/tclPathObj.c')
-rw-r--r--generic/tclPathObj.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/generic/tclPathObj.c b/generic/tclPathObj.c
index 9a44863..7664827 100644
--- a/generic/tclPathObj.c
+++ b/generic/tclPathObj.c
@@ -40,11 +40,11 @@ static int MakeTildeRelativePath(Tcl_Interp *interp,
*/
static const Tcl_ObjType fsPathType = {
- "path", /* name */
- FreeFsPathInternalRep, /* freeIntRepProc */
- DupFsPathInternalRep, /* dupIntRepProc */
- UpdateStringOfFsPath, /* updateStringProc */
- SetFsPathFromAny, /* setFromAnyProc */
+ "path", /* name */
+ FreeFsPathInternalRep, /* freeIntRepProc */
+ DupFsPathInternalRep, /* dupIntRepProc */
+ UpdateStringOfFsPath, /* updateStringProc */
+ SetFsPathFromAny, /* setFromAnyProc */
TCL_OBJTYPE_V0
};
@@ -2347,7 +2347,7 @@ DupFsPathInternalRep(
static void
UpdateStringOfFsPath(
- Tcl_Obj *pathPtr) /* path obj with string rep to update. */
+ Tcl_Obj *pathPtr) /* path obj with string rep to update. */
{
FsPath *fsPathPtr = PATHOBJ(pathPtr);
Tcl_Size cwdLen;
@@ -2469,11 +2469,11 @@ TclNativePathInFilesystem(
*/
int
MakeTildeRelativePath(
- Tcl_Interp *interp, /* May be NULL. Only used for error messages */
- const char *user, /* User name. NULL -> current user */
- const char *subPath, /* Rest of path. May be NULL */
- Tcl_DString *dsPtr) /* Output. Is initialized by the function. Must be
- * freed on success */
+ Tcl_Interp *interp, /* May be NULL. Only used for error messages */
+ const char *user, /* User name. NULL -> current user */
+ const char *subPath, /* Rest of path. May be NULL */
+ Tcl_DString *dsPtr) /* Output. Is initialized by the function. Must
+ * be freed on success */
{
const char *dir;
Tcl_DString dirString;
@@ -2537,8 +2537,8 @@ MakeTildeRelativePath(
*/
Tcl_Obj *
TclGetHomeDirObj(
- Tcl_Interp *interp, /* May be NULL. Only used for error messages */
- const char *user) /* User name. NULL -> current user */
+ Tcl_Interp *interp, /* May be NULL. Only used for error messages */
+ const char *user) /* User name. NULL -> current user */
{
Tcl_DString dirString;
@@ -2569,7 +2569,7 @@ TclGetHomeDirObj(
*/
Tcl_Obj *
TclResolveTildePath(
- Tcl_Interp *interp, /* May be NULL. Only used for error messages */
+ Tcl_Interp *interp, /* May be NULL. Only used for error messages */
Tcl_Obj *pathObj)
{
const char *path;