← Commit list

28f5619e8

Denis Vlasenko
Denis Vlasenko
2008-09-16
FAILED Duration: 27s

Subject

slattach: preserve speed in non-raw mode. +39 bytes. by Matthieu CASTET (matthieu.castet AT parrot.com)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/slattach.c+2 -0
@@ -206,6 +206,8 @@ int slattach_main(int argc UNUSED_PARAM, char **argv)
state.c_cflag = CS8 | HUPCL | CREAD
| ((opt & OPT_L_local) ? CLOCAL : 0)
| ((opt & OPT_F_noflow) ? 0 : CRTSCTS);
+ cfsetispeed(&state, cfgetispeed(&saved_state));
+ cfsetospeed(&state, cfgetospeed(&saved_state));
}
if (opt & OPT_s_baud) {