svn commit: r320360 - head/usr.bin/resizewin

Ed Schouten ed at nuxi.nl
Mon Jun 26 13:20:18 UTC 2017


2017-06-26 15:14 GMT+02:00 Edward Tomasz Napierala <trasz at freebsd.org>:
> +       /* Disable echo, drain the input, and flush the output */
>         if (tcgetattr(fd, &old) == -1)
>                 exit(1);

> +       if (tcsetattr(fd, TCSAFLUSH, &new) == -1)
>                 exit(1);

Would it make sense to print diagnostics here?

-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717


More information about the svn-src-all mailing list