|
2026-11-28
| ||
| 12:44 | • New ticket [36f45ab7e5] typo in CrtObjCmd.3. artifact: 223ecdece8 user: chrstphrchvz | |
typo in CrtObjCmd.3
Open36f45ab7e5957d38a2bd7979e215ea7a140cd6f6Created 4 days agoUpdated 4 days ago
Descriptionmarkdown2026-11-28 12:44:31
CrtObjCmd.3 says:
Unlike argv[argv] used in a string-based command procedure, objv[objc] will not contain NULL.
But it should say argv[argc] rather than argv[argv]:
--- doc/CrtObjCmd.3
+++ doc/CrtObjCmd.3
@@ -104,9 +104,9 @@
command procedure is invoked. \fIObjc\fR and \fIobjv\fR describe the
arguments to the command, \fIobjc\fR giving the number of argument values
(including the command name) and \fIobjv\fR giving the values of the
arguments. The \fIobjv\fR array will contain \fIobjc\fR values, pointing to
-the argument values. Unlike \fIargv\fR[\fIargv\fR] used in a
+the argument values. Unlike \fIargv\fR[\fIargc\fR] used in a
string-based command procedure, \fIobjv\fR[\fIobjc\fR] will not contain NULL.
.PP
Additionally, when \fIproc\fR is invoked, it must not modify the contents
of the \fIobjv\fR array by assigning new pointer values to any element of the
Log in (anonymous is fine) to add a comment.