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/RawImp.c

    old new  
    231231        if( !handler.sa_handler ) signal( SIGIO, SIG_IGN ); 
    232232#endif /* !__FreeBSD__ */ 
    233233#if defined(__linux__)  
     234#if 0 
    234235        /* Lets let people who upgraded kernels know they may have problems */ 
    235236        if (uname (&name) == -1) 
    236237        { 
     
    242243                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); 
    243244                getchar(); 
    244245        } 
     246#endif 
    245247#endif /* __linux__ */ 
    246248#endif /* WIN32 */ 
    247249} 
  • 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.c

    old new  
    280280        gettimeofday(&seloop, NULL); 
    281281#endif /* DEBUG_TIMING */ 
    282282#if defined(DEBUG) && defined(__linux__) 
     283#if 0 
    283284        /* Lets let people who upgraded kernels know they may have problems */ 
    284285        if (uname (&name) == -1) 
    285286        { 
     
    295296                getchar(); 
    296297        } 
    297298        LEAVE( "RXTXPort:Initialize" ); 
     299#endif 
    298300#endif /* DEBUG && __linux__ */ 
    299301} 
    300302 
  • 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.