From nobody@FreeBSD.org  Wed Nov  7 09:58:52 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id DCBC237B416
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Nov 2001 09:58:50 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id fA7Hwoc46336;
	Wed, 7 Nov 2001 09:58:50 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200111071758.fA7Hwoc46336@freefall.freebsd.org>
Date: Wed, 7 Nov 2001 09:58:50 -0800 (PST)
From: Keith White <kwhite@uottawa.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/sbin/burncd "msinfo" always returns "0" as first parameter
X-Send-Pr-Version: www-1.0

>Number:         31826
>Category:       bin
>Synopsis:       /usr/sbin/burncd "msinfo" always returns "0" as first parameter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 07 10:00:01 PST 2001
>Closed-Date:    Thu Dec 27 02:14:11 PST 2001
>Last-Modified:  Thu Dec 27 02:14:40 PST 2001
>Originator:     Keith White
>Release:        4.3
>Organization:
SITE, University of Ottawa
>Environment:
FreeBSD web0.site.uottawa.ca 4.3-RELEASE FreeBSD 4.3-RELEASE #3: Mon Oct 15 10:27:44 EDT 2001     kwhite@web0.site.uottawa.ca:/usr/src/sys/compile/WEB0  i386

>Description:
On a CD with the following table of contents, I'd expect the msinfo
parameters to be "295432, 302634" rather than "0, 302634".

$ cdcontrol -f /dev/acd0c info
track     start  duration   block  length   type
-------------------------------------------------
    1   0:02.00  54:41.11       0  245936   data
    2  54:41.11   1:38.00  245936    7200   data
    3  56:17.11   2:35.03  253136   11478   data
    4  58:50.14   1:47.45  264614    7920   data
    5  60:35.59   1:47.45  272534    7920   data
    6  62:21.29   1:45.51  280454    7776   data
    7  64:05.05   1:38.02  288230    7202   data
    8  65:41.07   0:06.02  295432     302   data
  170  65:45.09         -  295734       -      -

$ burncd -f /dev/acd0c msinfo
0, 302634

>How-To-Repeat:
Use "burncd msinfo" to find -C parameters for mkisofs
Append a session to a CD with mkisofs -C... -M...
Use burncd msinfo to find -C parameters for another session
notice how the first parameter is still "0" 
>Fix:
uuencoded gzipped diff -c of burncd.c version 1.10.2.1 

diff -c burncd.c.orig burncd.c | gzip | uuencode -

begin 644 -
M'XL(`(-UZ3L``^5374O#,!1]KK_BKJ`T6S>Z.1$V?9A;Q8&N4`HJ*J5KTEG6
MM9)F@CK_NS?)<"I^"_I@'O)YSCTWN2?5:A7&<Y['M!$W"IY.C&-&851<`VQ#
ML]5I.YUV&UJ.TURKU^N/T)>H9J>UI5'5YTVN$;%E-]L.J`T`PS#&G$73KIK?
MJSY-P*J4@L>S*ROBD^LS["YL,&=EFB>%20C<*1PL&T+GL8"TB$,,14.!$X1.
M,A:R7/`;4+U46`K>,EY8&VK7AC*]945B?12$$)VBH5:-B%+.RC),"CZ+!.Q"
M?Q`>[O7"?<\_Z@5+J+P(!A29E5`;$4//=WN#P.N[H\`_M4&G0&`''++,S6"<
M6^Y)./1<W\<[:_I+*C')&Q+^T.N/W)/@V!\&;F_O$$D#C+,A\_V4T*L!E%Y%
MTI(KGN9"/A?%`,A;1]EU>IZ;-FB$D8OB,K/T,ZT>JY&-(V*#RJ/[Q<(S'I7,
M)+!8P&O'XRS*IVB+.V5+;;!-P'G]!P:K2>834T@_7*(Q&`<]=+_KP=J[UCC`
MP945TRJZ9IKSH3<T=V6.WS!Z;045/(JGB-"98^TIA@W5[O_\$'_X$QX`F#R(
%8LP%``"Z
`
end

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: mikeh 
Responsible-Changed-When: Sat Dec 22 23:58:34 PST 2001 
Responsible-Changed-Why:  
sos is author of burncd 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31826 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Thu Dec 27 02:14:11 PST 2001 
State-Changed-Why:  
Fixed in -current MFC to follow asap. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31826 
>Unformatted:
