[master] c462a96 Solaris again...

Poul-Henning Kamp phk at FreeBSD.org
Thu Jan 11 11:22:04 UTC 2018


commit c462a96b12360c9e51dfdfccad4db59a6e352f30
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Jan 11 11:21:23 2018 +0000

    Solaris again...

diff --git a/bin/varnishtest/vtc_process.c b/bin/varnishtest/vtc_process.c
index f31bbd6..9a3cff4 100644
--- a/bin/varnishtest/vtc_process.c
+++ b/bin/varnishtest/vtc_process.c
@@ -320,7 +320,8 @@ process_init_term(int fd)
 	tt.c_iflag = BRKINT | ICRNL | IMAXBEL | IXON | IXANY;
 	tt.c_lflag = ICANON | ISIG | IEXTEN;
 	tt.c_oflag = OPOST | ONLCR;
-	AZ(cfsetspeed(&tt, B9600));
+	AZ(cfsetispeed(&tt, B9600));
+	AZ(cfsetospeed(&tt, B9600));
 	tt.c_cc[VEOF] = '\x04';			// CTRL-D
 	tt.c_cc[VERASE] = '\x08';		// CTRL-H (Backspace)
 	tt.c_cc[VKILL] = '\x15';		// CTRL-U


More information about the varnish-commit mailing list