root/trunk/sources/rxtx/no-UTS_RELEASE.patch

Revision 6374, 3.5 kB (checked in by bzhou, 3 years ago)

added rxtx

  • src/I2CImp.c

    old new  
    8787        if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); 
    8888#endif /* !__FreeBSD__ */ 
    8989#if defined(__linux__)  
     90#if 0 
    9091        /* Lets let people who upgraded kernels know they may have problems */ 
    9192        if (uname (&name) == -1) 
    9293        { 
     
    9899                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); 
    99100                getchar(); 
    100101        } 
     102#endif 
    101103#endif /* __linux__ */ 
    102104#endif /* WIN32 */ 
    103105} 
  • src/RS485Imp.c

    old new  
    8787        if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); 
    8888#endif /* !__FreeBSD__ */ 
    8989#if defined(__linux__)  
     90#if 0 
    9091        /* Lets let people who upgraded kernels know they may have problems */ 
    9192        if (uname (&name) == -1) 
    9293        { 
     
    9899                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); 
    99100                getchar(); 
    100101        } 
     102#endif 
    101103#endif /* __linux__ */ 
    102104#endif /* WIN32 */ 
    103105} 
  • src/SerialImp.cpp

    old new  
    102102        if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); 
    103103#endif /* !__FreeBSD__ */ 
    104104#ifdef DEBUG 
     105#if 0 
    105106        /* Lets let people who upgraded kernels know they may have problems */ 
    106107        if (uname (&name) == -1) 
    107108        { 
     
    114115                        name.release); 
    115116                getchar(); 
    116117        } 
     118#endif 
    117119#endif /* DEBUG */ 
    118120#endif /* __BEOS__ */ 
    119121#endif /* WIN32 */ 
Note: See TracBrowser for help on using the browser.