We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4728e commit 8a1bda2Copy full SHA for 8a1bda2
src/umockdev.vala
@@ -928,7 +928,7 @@ public class Testbed: GLib.Object {
928
uint8[] ev_data = new uint8[sizeof(Linux.Input.Event)];
929
Posix.memcpy(ev_data, &ev, ev_data.length);
930
string script_line = "r " + delay.to_string() + " " + ScriptRunner.encode(ev_data) + "\n";
931
- Posix.write(script_fd, script_line, script_line.length);
+ assert (Posix.write(script_fd, script_line, script_line.length) == script_line.length);
932
}
933
934
Posix.close (script_fd);
0 commit comments