https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248377

SOUMENDRA GANGULY <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #216973|0                           |1
        is obsolete|                            |

--- Comment #9 from SOUMENDRA GANGULY <[email protected]> ---
Created attachment 217063
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217063&action=edit
script.diff

Adds elegant error handling. For example, instead of using isatty followed by
tcgetattr, tcgetattr is directly used. This is logical because
freebsd/lib/libc/gen/isatty.c suggests that isatty is actually implemented
using tcgetattr. Upon failure of tcgetattr, errno is checked to decide if
stdout is a tty. 

Note: I am comfortable with Bugzilla now. Therefore, I am closing the GitHub
pull request.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to