From: Erik Andersen (andersen@codepoet.org)
Date: Wed Mar 13 2002 - 02:54:53 EST
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): Patch is obviously correct. Applied (to tinylogin). > However, I wonder why this didn't happen with the old stdio.... Guess you just got lucky. > Was it not buffered, or did it default to line buffering? Is this a > potential compatibility problem? The old stdio was also buffering. Regardless, the new behavior is correct and seems to do a better job at showing bugs... I'll take obviously broken over silently broken any day. -Erik -- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer electrons-- This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:59 EDT