From d8eaf0429dcec3c448dc7625d9e05c101ed504bb Mon Sep 17 00:00:00 2001 From: scream3r Date: Mon, 20 Jan 2014 14:55:01 +0300 Subject: [PATCH] Added 'since' comment for *nix_based native source and updated general comment date --- src/cpp/_nix_based/jssc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/_nix_based/jssc.cpp b/src/cpp/_nix_based/jssc.cpp index e9de916..89d8da0 100644 --- a/src/cpp/_nix_based/jssc.cpp +++ b/src/cpp/_nix_based/jssc.cpp @@ -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;