Commit 05b6618f authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Unconditionally set O_NONBLOCK when opening.

parent 3036fef6
......@@ -97,6 +97,8 @@ static struct serial *create_serial( const char *nameptr, size_t len, unsigned i
default: break;
}
flags |= O_NONBLOCK;
fd = open( name, flags );
free( name );
if (fd < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment