diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-05-25 09:48:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-05-25 09:48:11 (GMT) |
commit | 60bb48a1c2a0656fe9a8c17faad9a7155eefc17c (patch) | |
tree | 769b64fcd38b8704f5ba9cfab12682e1ed23ab7d | |
parent | db0dc8c2b957416f3420435c986026c0d23f9db4 (diff) | |
parent | 6ef2d21d52bc57def14a5622bebe567983a2f515 (diff) | |
download | tcl-60bb48a1c2a0656fe9a8c17faad9a7155eefc17c.zip tcl-60bb48a1c2a0656fe9a8c17faad9a7155eefc17c.tar.gz tcl-60bb48a1c2a0656fe9a8c17faad9a7155eefc17c.tar.bz2 |
Merge 8.7
-rw-r--r-- | doc/Access.3 | 2 | ||||
-rw-r--r-- | doc/AddErrInfo.3 | 4 | ||||
-rw-r--r-- | doc/CrtObjCmd.3 | 2 | ||||
-rw-r--r-- | doc/Eval.3 | 2 | ||||
-rw-r--r-- | doc/GetCwd.3 | 6 | ||||
-rw-r--r-- | doc/NRE.3 | 2 | ||||
-rw-r--r-- | doc/RegExp.3 | 4 | ||||
-rw-r--r-- | doc/SplitList.3 | 2 | ||||
-rw-r--r-- | tests/namespace.test | 6 | ||||
-rw-r--r-- | unix/Makefile.in | 2 |
10 files changed, 16 insertions, 16 deletions
diff --git a/doc/Access.3 b/doc/Access.3 index 699d7ed..5a29ec2 100644 --- a/doc/Access.3 +++ b/doc/Access.3 @@ -20,7 +20,7 @@ int \fBTcl_Stat\fR(\fIpath\fR, \fIstatPtr\fR) .SH ARGUMENTS .AS "struct stat" *statPtr out -.AP char *path in +.AP "const char" *path in Native name of the file to check the attributes of. .AP int mode in Mask consisting of one or more of \fBR_OK\fR, \fBW_OK\fR, \fBX_OK\fR and diff --git a/doc/AddErrInfo.3 b/doc/AddErrInfo.3 index 5462d02..ba998c0 100644 --- a/doc/AddErrInfo.3 +++ b/doc/AddErrInfo.3 @@ -47,7 +47,7 @@ Interpreter in which to record information. The code returned from script evaluation. .AP Tcl_Obj *options A dictionary of return options. -.AP char *message in +.AP "const char" *message in For \fBTcl_AddErrorInfo\fR, this is a conventional C string to append to the \fB\-errorinfo\fR return option. For \fBTcl_AddObjErrorInfo\fR, @@ -64,7 +64,7 @@ appending to the \fB\-errorinfo\fR return option. If TCL_INDEX_NONE, all bytes up to the first null byte are used. .AP Tcl_Obj *errorObjPtr in The \fB\-errorcode\fR return option will be set to this value. -.AP char *element in +.AP "const char" *element in String to record as one element of the \fB\-errorcode\fR return option. Last \fIelement\fR argument must be NULL. .AP va_list argList in diff --git a/doc/CrtObjCmd.3 b/doc/CrtObjCmd.3 index d0fa185..cfe414b 100644 --- a/doc/CrtObjCmd.3 +++ b/doc/CrtObjCmd.3 @@ -54,7 +54,7 @@ const char * .AS Tcl_CmdDeleteProc *deleteProc in/out .AP Tcl_Interp *interp in Interpreter in which to create a new command or that contains a command. -.AP char *cmdName in +.AP "const char" *cmdName in Name of command. .AP Tcl_ObjCmdProc *proc in Implementation of the new command: \fIproc\fR will be called whenever @@ -62,7 +62,7 @@ null terminating character. If \-1, then all characters up to the first null byte are used. .AP "const char" *script in Points to first byte of script to execute (null-terminated and UTF-8). -.AP char *part in +.AP "const char" *part in String forming part of a Tcl script. .BE diff --git a/doc/GetCwd.3 b/doc/GetCwd.3 index f4f37a1..b19f587 100644 --- a/doc/GetCwd.3 +++ b/doc/GetCwd.3 @@ -17,7 +17,7 @@ char * \fBTcl_GetCwd\fR(\fIinterp\fR, \fIbufferPtr\fR) .sp int -\fBTcl_Chdir\fR(\fIpath\fR) +\fBTcl_Chdir\fR(\fIdirName\fR) .SH ARGUMENTS .AS Tcl_DString *bufferPtr in/out .AP Tcl_Interp *interp in @@ -27,7 +27,7 @@ This dynamic string is used to store the current working directory. At the time of the call it should be uninitialized or free. The caller must eventually call \fBTcl_DStringFree\fR to free up anything stored here. -.AP char *path in +.AP "const char" *dirName in File path in UTF\-8 format. .BE @@ -45,7 +45,7 @@ must call \fBTcl_DStringFree()\fR when the result is no longer needed. The format of the path is UTF\-8. .PP \fBTcl_Chdir\fR changes the applications current working directory to -the value specified in \fIpath\fR. The format of the passed in string +the value specified in \fIdirName\fR. The format of the passed in string must be UTF\-8. The function returns -1 on error or 0 on success. .SH KEYWORDS @@ -40,7 +40,7 @@ void .AS Tcl_CmdDeleteProc *interp in .AP Tcl_Interp *interp in The relevant Interpreter. -.AP char *cmdName in +.AP "const char" *cmdName in Name of the command to create. .AP Tcl_ObjCmdProc *proc in Called in order to evaluate a command. Is often just a small wrapper that uses diff --git a/doc/RegExp.3 b/doc/RegExp.3 index 9016ee3..86c3a55 100644 --- a/doc/RegExp.3 +++ b/doc/RegExp.3 @@ -51,14 +51,14 @@ can be efficiently searched. .AP Tcl_Obj *patObj in/out Refers to the value from which to get a regular expression. The compiled regular expression is cached in the value. -.AP char *text in +.AP "const char" *text in Text to search for a match with a regular expression. .AP "const char" *pattern in String in the form of a regular expression pattern. .AP Tcl_RegExp regexp in Compiled regular expression. Must have been returned previously by \fBTcl_GetRegExpFromObj\fR or \fBTcl_RegExpCompile\fR. -.AP char *start in +.AP "const char" *start in If \fItext\fR is just a portion of some other string, this argument identifies the beginning of the larger string. If it is not the same as \fItext\fR, then no diff --git a/doc/SplitList.3 b/doc/SplitList.3 index 4b0eee6..070beb0 100644 --- a/doc/SplitList.3 +++ b/doc/SplitList.3 @@ -36,7 +36,7 @@ size_t .AP Tcl_Interp *interp out Interpreter to use for error reporting. If NULL, then no error message is left. -.AP char *list in +.AP "const char" *list in Pointer to a string with proper list structure. .AP int *argcPtr out Filled in with number of elements in \fIlist\fR. diff --git a/tests/namespace.test b/tests/namespace.test index 599e1e7..2d0c20f 100644 --- a/tests/namespace.test +++ b/tests/namespace.test @@ -3421,15 +3421,15 @@ test namespace-56.6 { Namespace deletion traces on both the original routine and the imported routine should run without any memory error under a debug build. } -body { - variable res {} + variable res {} proc ondelete {old new op} { variable res - set tail [namespace tail $old] + set tail [namespace tail $old] set up [namespace tail [namespace qualifiers $old]] lappend res [list $up $tail] } - + namespace eval ns1 {} { namespace export * diff --git a/unix/Makefile.in b/unix/Makefile.in index ff8682c..c4a2d07 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -209,7 +209,7 @@ TCL_LIB_FLAG = @TCL_LIB_FLAG@ #TCL_LIB_FLAG = -ltcl # support for embedded libraries on Darwin / Mac OS X -DYLIB_INSTALL_DIR = ${LIB_RUNTIME_DIR} +DYLIB_INSTALL_DIR = $(libdir) #-------------------------------------------------------------------------- # The information below is modified by the configure script when Makefile is |