[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: Patch to 'tr' utility

From: Bob Proulx
Subject: Re: Fw: Patch to 'tr' utility
Date: Mon, 8 Jul 2002 10:33:02 -0600
User-agent: Mutt/1.4i

> >> +  /* Do not buffer console output. */
> >> +  if (isatty((int) stdout)) SETVBUF (stdout, NULL, _IONBF, 0);

Doesn't libc do exactly this already?  Why does it need to be done
twice, here and in libc too?

Also, that "(int)stdout" cast to 'int' makes me nervous.  That
cast shouldn't be there.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]