Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2017 15:19:47 +0200
From:      Ed Schouten <ed@nuxi.nl>
To:        Edward Tomasz Napierala <trasz@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r320360 - head/usr.bin/resizewin
Message-ID:  <CABh_MK=C-j%2B2agWt%2B8ed_prLPZVpLtg1SsB6w%2BAiQy3hV5VoBw@mail.gmail.com>
In-Reply-To: <201706261314.v5QDEfHj014897@repo.freebsd.org>
References:  <201706261314.v5QDEfHj014897@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2017-06-26 15:14 GMT+02:00 Edward Tomasz Napierala <trasz@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@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MK=C-j%2B2agWt%2B8ed_prLPZVpLtg1SsB6w%2BAiQy3hV5VoBw>