Bug#693960: Typo in original patch

2012-11-23 Thread Roger Leigh
tags 693960 + patch pending
thanks

On Thu, Nov 22, 2012 at 11:03:20AM +0100, Johannes Truschnigg wrote:
 Of course I managed to get a typo not only into my report, but also into the
 attached patch: fiels is supposed to read field. I've attached a corrected
 version for your convenience - sorry for the noise.

Many thanks for the patch.  I've applied it to the jessie-pending
git branch so that it will go in after wheezy is released.

http://anonscm.debian.org/gitweb/?p=collab-maint/sysvinit;a=commitdiff;h=e79782d209ef77005dc87b29a420146c55209ca7
http://anonscm.debian.org/gitweb/?p=collab-maint/sysvinit;a=commitdiff;h=79471ba0f8a373f49c7d63e331cb3edd90c38eaf


Thanks again,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linuxhttp://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-GPG Public Key  F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#693960: Typo in original patch

2012-11-22 Thread Johannes Truschnigg
Of course I managed to get a typo not only into my report, but also into the
attached patch: fiels is supposed to read field. I've attached a corrected
version for your convenience - sorry for the noise.
diff -u -r a/sysvinit-2.88dsf/man/inittab.5 b/sysvinit-2.88dsf/man/inittab.5
--- a/sysvinit-2.88dsf/man/inittab.5	2009-09-10 10:28:49.0 +0200
+++ b/sysvinit-2.88dsf/man/inittab.5	2012-11-22 10:32:17.554426005 +0100
@@ -66,7 +66,7 @@
 .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
diff -u -r a/sysvinit-2.88dsf/src/init.c b/sysvinit-2.88dsf/src/init.c
--- a/sysvinit-2.88dsf/src/init.c	2010-04-13 11:48:54.0 +0200
+++ b/sysvinit-2.88dsf/src/init.c	2012-11-22 10:28:54.653475075 +0100
@@ -1314,7 +1314,7 @@
 	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) {


signature.asc
Description: Digital signature