root/trunk/sources/rxtx/no-UTS_RELEASE.patch
| Revision 6374, 3.5 kB (checked in by bzhou, 3 years ago) |
|---|
-
src/I2CImp.c
old new 87 87 if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); 88 88 #endif /* !__FreeBSD__ */ 89 89 #if defined(__linux__) 90 #if 0 90 91 /* Lets let people who upgraded kernels know they may have problems */ 91 92 if (uname (&name) == -1) 92 93 { … … 98 99 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); 99 100 getchar(); 100 101 } 102 #endif 101 103 #endif /* __linux__ */ 102 104 #endif /* WIN32 */ 103 105 } -
src/RS485Imp.c
old new 87 87 if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); 88 88 #endif /* !__FreeBSD__ */ 89 89 #if defined(__linux__) 90 #if 0 90 91 /* Lets let people who upgraded kernels know they may have problems */ 91 92 if (uname (&name) == -1) 92 93 { … … 98 99 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); 99 100 getchar(); 100 101 } 102 #endif 101 103 #endif /* __linux__ */ 102 104 #endif /* WIN32 */ 103 105 } -
src/SerialImp.cpp
old new 102 102 if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); 103 103 #endif /* !__FreeBSD__ */ 104 104 #ifdef DEBUG 105 #if 0 105 106 /* Lets let people who upgraded kernels know they may have problems */ 106 107 if (uname (&name) == -1) 107 108 { … … 114 115 name.release); 115 116 getchar(); 116 117 } 118 #endif 117 119 #endif /* DEBUG */ 118 120 #endif /* __BEOS__ */ 119 121 #endif /* WIN32 */
Note: See TracBrowser for help on using the browser.
