[master] ddc1100 Use cfset[io]speed() because of Solaris...
Poul-Henning Kamp
phk at FreeBSD.org
Thu Jan 11 10:25:07 UTC 2018
commit ddc110031a6c719d3711f587a5d79ceee9742aa2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Jan 11 10:23:56 2018 +0000
Use cfset[io]speed() because of Solaris...
diff --git a/bin/varnishtest/vtc_process.c b/bin/varnishtest/vtc_process.c
index f6a8bdb..d6db686 100644
--- a/bin/varnishtest/vtc_process.c
+++ b/bin/varnishtest/vtc_process.c
@@ -320,8 +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;
- tt.c_ispeed = B9600;
- tt.c_ospeed = B9600;
+ cfsetispeed(&tt, B9600);
+ 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