Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fschuett
rxtx-java
rxtx-java-38400.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rxtx-java-38400.patch of Package rxtx-java
diff -up ./src/SerialImp.c.orig ./src/SerialImp.c --- ./src/SerialImp.c.orig 2015-05-04 20:12:01.000000000 +0200 +++ ./src/SerialImp.c 2015-05-04 20:14:58.580336504 +0200 @@ -872,13 +872,13 @@ int set_port_params( JNIEnv *env, int fd See the next ifdef below for the divisor. */ -#if defined(TIOCGSERIAL) - if ( cspeed == B38400 ) - cspeed = 38400; -#endif /* TIOCGSERIAL */ if( cfsetispeed( &ttyset, cspeed ) < 0 || cfsetospeed( &ttyset, cspeed ) < 0 ) { +#if defined(TIOCGSERIAL) + if ( cspeed == B38400 ) + cspeed = 38400; +#endif /* TIOCGSERIAL */ /* Some people need to set the baud rate to ones not defined in termios.h
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor