--- src/I2CImp.c.orig 2009-07-07 21:27:13.000000000 +0100 +++ src/I2CImp.c 2009-07-07 21:28:44.000000000 +0100 @@ -126,6 +126,7 @@ if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); #endif /* !__FreeBSD__ */ #if defined(__linux__) +#if 0 /* Lets let people who upgraded kernels know they may have problems */ if (uname (&name) == -1) { @@ -137,6 +138,7 @@ fprintf(stderr, "\n\n\nRXTX WARNING: This library was compiled to run with OS release %s and you are currently running OS release %s. In some cases this can be a problem. Try recompiling RXTX if you notice strange behavior. If you just compiled RXTX make sure /usr/include/linux is a symbolic link to the include files that came with the kernel source and not an older copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release); getchar(); } +#endif #endif /* __linux__ */ #endif /* WIN32 */ } --- src/RawImp.c.orig 2009-07-07 21:33:39.000000000 +0100 +++ src/RawImp.c 2009-07-07 21:35:27.000000000 +0100 @@ -271,6 +271,7 @@ if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); #endif /* !__FreeBSD__ */ #if defined(__linux__) +#if 0 /* Lets let people who upgraded kernels know they may have problems */ if (uname (&name) == -1) { @@ -282,6 +283,7 @@ fprintf(stderr, "\n\n\nRXTX WARNING: This library was compiled to run with OS release %s and you are currently running OS release %s. In some cases this can be a problem. Try recompiling RXTX if you notice strange behavior. If you just compiled RXTX make sure /usr/include/linux is a symbolic link to the include files that came with the kernel source and not an older copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release); getchar(); } +#endif #endif /* __linux__ */ #endif /* WIN32 */ } --- src/RS485Imp.c.orig 2009-07-07 21:35:43.000000000 +0100 +++ src/RS485Imp.c 2009-07-07 21:36:23.000000000 +0100 @@ -126,6 +126,7 @@ if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); #endif /* !__FreeBSD__ */ #if defined(__linux__) +#if 0 /* Lets let people who upgraded kernels know they may have problems */ if (uname (&name) == -1) { @@ -137,6 +138,7 @@ fprintf(stderr, "\n\n\nRXTX WARNING: This library was compiled to run with OS release %s and you are currently running OS release %s. In some cases this can be a problem. Try recompiling RXTX if you notice strange behavior. If you just compiled RXTX make sure /usr/include/linux is a symbolic link to the include files that came with the kernel source and not an older copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release); getchar(); } +#endif #endif /* __linux__ */ #endif /* WIN32 */ } --- src/SerialImp.c.orig 2009-07-07 21:36:48.000000000 +0100 +++ src/SerialImp.c 2009-07-07 21:37:36.000000000 +0100 @@ -319,6 +319,7 @@ gettimeofday(&seloop, NULL); #endif /* DEBUG_TIMING */ #if defined(DEBUG) && defined(__linux__) +#if 0 /* Lets let people who upgraded kernels know they may have problems */ if (uname (&name) == -1) { @@ -334,6 +335,7 @@ getchar(); } LEAVE( "RXTXPort:Initialize" ); +#endif #endif /* DEBUG && __linux__ */ } --- src/SerialImp.cpp.orig 2009-07-07 21:37:56.000000000 +0100 +++ src/SerialImp.cpp 2009-07-07 21:38:59.000000000 +0100 @@ -141,6 +141,7 @@ if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); #endif /* !__FreeBSD__ */ #ifdef DEBUG +#if 0 /* Lets let people who upgraded kernels know they may have problems */ if (uname (&name) == -1) { @@ -153,6 +154,7 @@ name.release); getchar(); } +#endif #endif /* DEBUG */ #endif /* __BEOS__ */ #endif /* WIN32 */