Added 'since' comment for *nix_based native source and updated general comment date
This commit is contained in:
parent
b813f26243
commit
d8eaf0429d
|
@ -1,5 +1,5 @@
|
|||
/* jSSC (Java Simple Serial Connector) - serial port communication library.
|
||||
* © Alexey Sokolov (scream3r), 2010-2013.
|
||||
* © Alexey Sokolov (scream3r), 2010-2014.
|
||||
*
|
||||
* This file is part of jSSC.
|
||||
*
|
||||
|
@ -72,7 +72,7 @@ JNIEXPORT jlong JNICALL Java_jssc_SerialNativeInterface_openPort(JNIEnv *env, jo
|
|||
fcntl(hComm, F_SETFL, flags);
|
||||
}
|
||||
else {
|
||||
close(hComm);
|
||||
close(hComm);//since 2.7.0
|
||||
hComm = jssc_SerialNativeInterface_ERR_INCORRECT_SERIAL_PORT;//-4;
|
||||
}
|
||||
delete settings;
|
||||
|
|
Loading…
Reference in New Issue