2011/7/3 Kostik Belousov <kostik...@gmail.com>:
> I think the different workaround is already included in the latest
> sbuf source. Please see
> http://svnweb.freebsd.org/base/head/sys/kern/subr_sbuf.c?revision=222015&view=markup

How does libsbuf react if the guess fails?  Also note this codepath
isn't tested in FreeBSD (except for pc98).

I'm afraid this situation could lead to runtime errors somehow.  I'd
still propose replacing this guess with a sysconf() check.

-- 
Robert Millan
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to