Re: Fw: Patch to 'tr' utility
[email protected] (Bob Proulx)
| Newsgroups | gmane.comp.gnu.textutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
> >> + /* 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. Bob