403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/lang/squeak/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/lang/squeak/files/patch-unix_plugins_SerialPlugin_sqUnixSerial.c
--- unix/plugins/SerialPlugin/sqUnixSerial.c.orig	2011-03-14 05:01:56 UTC
+++ unix/plugins/SerialPlugin/sqUnixSerial.c
@@ -21,7 +21,7 @@
 #define PORT_NAME_SIZE 64
 
 static const char serialPortBaseName[]		= "/dev/tty";
-static const char serialPortBaseNameDefault[]	= "/dev/ttyS0";
+static const char serialPortBaseNameDefault[]	= "/dev/ttyU0";
 
 /* stopBits	0=1.5, 1=1, 2=2 */
 /* I don't know how to get 1.5 stop bits. Oh well. So you get 2 instead */
@@ -94,10 +94,8 @@ static drDecode dataRateDecode[] = {
 #endif
 #if defined(B500000)		/* missing on GNU/Linux prior to 2.2 */
   { 500000, B500000 },
-  { 576000, B576000 },
   { 921600, B921600 },
   { 1000000, B1000000 },
-  { 1152000, B1152000 },
   { 1500000, B1500000 },
   { 2000000, B2000000 },
 #endif

Youez - 2016 - github.com/yon3zu
LinuXploit