summaryrefslogtreecommitdiff
blob: fb05955c65f1d63e1b69fecba227b2b6a6a97d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
--- src/I2CImp.c.orig	2004-10-17 16:23:02.000000000 +0200
+++ src/I2CImp.c	2006-10-26 21:25:32.000000000 +0200
@@ -87,6 +87,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)
 	{
@@ -98,6 +99,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	2004-10-16 18:20:35.000000000 +0200
+++ src/RawImp.c	2006-10-26 21:25:59.000000000 +0200
@@ -231,6 +231,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)
 	{
@@ -242,6 +243,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	2004-10-16 18:20:35.000000000 +0200
+++ src/RS485Imp.c	2006-10-26 21:26:23.000000000 +0200
@@ -87,6 +87,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)
 	{
@@ -98,6 +99,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	2006-01-29 23:19:04.000000000 +0100
+++ src/SerialImp.c	2006-10-26 21:26:59.000000000 +0200
@@ -280,6 +280,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)
 	{
@@ -295,6 +296,7 @@
 		getchar();
 	}
 	LEAVE( "RXTXPort:Initialize" );
+#endif
 #endif /* DEBUG && __linux__ */
 }
 
--- src/SerialImp.cpp.orig	2004-10-12 10:59:27.000000000 +0200
+++ src/SerialImp.cpp	2006-10-26 21:27:44.000000000 +0200
@@ -102,6 +102,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)
 	{
@@ -114,6 +115,7 @@
 			name.release);
 		getchar();
 	}
+#endif
 #endif /* DEBUG */
 #endif /* __BEOS__ */
 #endif /* WIN32 */