From 8089322eae4074cd7cec783ef2fa50e4600064b9 Mon Sep 17 00:00:00 2001 From: vincentdarley Date: Mon, 27 Sep 2004 15:07:56 +0000 Subject: added missing Tcl_GlobTypeData documentation --- ChangeLog | 3 +++ doc/FileSystem.3 | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c1ce3b..1d1632b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,9 @@ windows, when permissions are inadequate [Bug 1035462] and to treatment of a volume-relative pwd on Windows [Bug 1018980]. + * doc/FileSystem.3: added missing Tcl_GlobTypeData documentation + [Bug 935853] + 2004-09-27 Kevin Kenny * compat/strftime.c (Removed): diff --git a/doc/FileSystem.3 b/doc/FileSystem.3 index bfc1d75..b7f1602 100644 --- a/doc/FileSystem.3 +++ b/doc/FileSystem.3 @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: FileSystem.3,v 1.47 2004/09/27 09:00:33 vincentdarley Exp $ +'\" RCS: @(#) $Id: FileSystem.3,v 1.48 2004/09/27 15:07:56 vincentdarley Exp $ '\" .so man.macros .TH Filesystem 3 8.4 Tcl "Tcl Library Procedures" @@ -1092,6 +1092,21 @@ Note that if no matches are found, that simply leads to an empty result --- errors are only signaled for actual file or filesystem problems which may occur during the matching process. .PP +The \fBTcl_GlobTypeData\fR structure passed in the \fItypes\fR +parameter contains the following fields: +.CS +typedef struct Tcl_GlobTypeData { + /* Corresponds to bcdpfls as in 'find -t' */ + int \fItype\fR; + /* Corresponds to file permissions */ + int \fIperm\fR; + /* Acceptable mac type */ + Tcl_Obj *\fImacType\fR; + /* Acceptable mac creator */ + Tcl_Obj *\fImacCreator\fR; +} Tcl_GlobTypeData; +.CE +.PP There are two specific cases which it is important to handle correctly, both when \fItypes\fR is non-NULL. The two cases are when \fItypes->types & TCL_GLOB_TYPE_DIR\fR or \fItypes->types & TCL_GLOB_TYPE_MOUNT\fR are -- cgit v0.12