[uClibc]buglet in `tinylogin' with new uClibc stdio

Manuel Novoa III mjn3 at codepoet.org
Wed Mar 13 13:06:51 UTC 2002


Miles and Erik,

On Wed, Mar 13, 2002 at 12:54:53AM -0700, Erik Andersen wrote:
> On Wed Mar 13, 2002 at 04:29:27PM +0900, Miles Bader wrote:
> > When I telnet to my board, which uses apps compiled with the new uClibc
> > stdio, I can login succesfully, but /etc/motd (which is output by
> > tinylogin before execing the shell) is truncated:
> [---------snip----------]
> > So it seems that the problem is that stdio isn't flushed.  Here's a
> > patch that fixes the problem (for the uClinux-dev people):
 
The buffer mode initialization of stdin/stdout was incorrect.  Sorry.
I just fixed and tested it.  I had changed the default static init
from FBF to LBF at some point and forgotten to adjust _stdio_init().
Fixed and tested now.
 
Manuel



More information about the uClibc mailing list