[uClibc]busybox ps garbled characters
Erik Andersen
andersen at codepoet.org
Wed Jun 25 17:34:10 UTC 2003
On Wed Jun 25, 2003 at 05:16:41PM +0100, Stuart Hughes wrote:
> I looked a bit further, and if I change line 155 of ps.c in busybox-0.52
> from:
> while (((c = getc(file)) != EOF) && (i < (terminal_width-len))) {
> to:
> while ((fread(&c, 1,1,file) != 0) && (i < (terminal_width-len))) {
>
> The output is okay. I guessed there may be a problem with getc on
> uClibc, is this likely or known ??
No such problem with getc is known... What compiler you are using.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list