from Johannes Truschnigg and Debian.
git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@151
456724a4-4300-0410-8514-
c89748c515a2
reduce the amount of failure that can happin in that function.
* Adapt bootlogd TIOCCONS call to kfreebsd. Patch from Mats Erik
Andersson and Debian.
+ * Document length limit for the process field in the inittab. Patch
+ from Johannes Truschnigg and Debian.
-- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010
.B init
will not do utmp and wtmp accounting for that process. This is needed for
gettys that insist on doing their own utmp/wtmp housekeeping. This is also
-a historic bug.
+a historic bug. The length of this field is limited to 127 characters.
.\"}}}
.PP
The \fIrunlevels\fP field may contain multiple characters for different
if (rlevel && strlen(rlevel) > 11)
strcpy(err, "rlevel field too long (max 11 characters)");
if (process && strlen(process) > 127)
- strcpy(err, "process field too long");
+ strcpy(err, "process field too long (max 127 characters)");
if (action && strlen(action) > 32)
strcpy(err, "action field too long");
if (err[0] != 0) {