Added 'since' comment for *nix_based native source and updated general comment date

This commit is contained in:
scream3r 2014-01-20 14:55:01 +03:00
parent b813f26243
commit d8eaf0429d
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* jSSC (Java Simple Serial Connector) - serial port communication library. /* 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. * 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); fcntl(hComm, F_SETFL, flags);
} }
else { else {
close(hComm); close(hComm);//since 2.7.0
hComm = jssc_SerialNativeInterface_ERR_INCORRECT_SERIAL_PORT;//-4; hComm = jssc_SerialNativeInterface_ERR_INCORRECT_SERIAL_PORT;//-4;
} }
delete settings; delete settings;