commit | 69cf09c821b94668f03c942585d99c13121731c8 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Fri Apr 15 12:04:13 2011 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Apr 15 12:04:13 2011 -0400 |
tree | 94021bedc39393fece76cce79a84b34d0d35ecf8 | |
parent | 088ae5995a75ab06882322fd3ef39f12df06bbbc [diff] |
avoid setting errno when checking for tty setting errno here is completely valid, but some programs, notably busybox printf, assume that errno will not be set during output and treat this as an error condition. in any case, skipping it slightly reduces code size and saves time.