Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2016 23:57:34 +0100
From:      Joerg Sonnenberger <joerg@bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r310138 - head/lib/libc/stdio
Message-ID:  <20161216225734.GA16509@britannica.bec.de>
In-Reply-To: <13059937.h5mayX8aKo@ralph.baldwin.cx>
References:  <201612160144.uBG1ipjW016736@repo.freebsd.org> <20161216193128.wgskqt4vc44vdd7o@ivaldir.etoilebsd.net> <8CF1AB9C-83FE-495F-B07C-56F928282512@FreeBSD.org> <13059937.h5mayX8aKo@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 16, 2016 at 02:45:19PM -0800, John Baldwin wrote:
> In general I agree with something like this instead, but it is quite a bit more
> tedious to use as you have to run it once to determine the length, allocate a
> buffer, and then run it again.

Why do you need to determine the length? It's not like people write
novells in the kernel to describe bit fields. A reasonable sized stack
buffer covers pretty much all the interesting cases.

Joerg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161216225734.GA16509>