Module Name: src Committed By: christos Date: Fri Aug 7 13:36:28 UTC 2020
Modified Files: src/usr.bin/script: script.c Log Message: PR/55548: Soumendra Ganguly: Since isatty(3) is implemented using tcgetattr(3), call it directly to avoid calling it twice. This makes error handling more precise. Also don't call err(3) when tcsetattr(3) fails. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/script/script.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.