The following reply was made to PR kern/163076; it has been noted by GNATS.

From: [email protected]
To: Jaakko Heinonen <[email protected]>
Cc: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <[email protected]>, 
        Poul-Henning Kamp <[email protected]>, Petr Salinger 
<[email protected]>, [email protected]
Subject: Re: kern/163076: It is not possible to read in chunks from linprocfs
 and procfs.
Date: Fri, 9 Dec 2011 07:33:46 -0800

 2011/12/9 Jaakko Heinonen <[email protected]>:
 > On 2011-12-09, Dag-Erling Sm=F8rgrav wrote:
 >> > Could we just remove the error check from sbuf_len()? (patch below) I
 >> > have Cc'd more people.
 >>
 >> Why?
 >
 > As I wrote existing code depends on sbuf_len() to return the actual
 > length regardless of the error status after sbuf_finish(). I am not
 > willing to through all code using sbufs to check where it causes
 > problems. phk@ asserts that r222004 is correct.
 
 What is causing sbuf to have an error in the first place?  The size of
 flies in /proc are generally small and malloc(3) errors are rare.
 
 Thanks,
 matthew
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to