Menu

#24 Linux error/warning fixes

closed-fixed
nobody
None
5
2009-11-12
2009-05-17
Carl Troein
No

Fix for errors/warnings under linux against bibo patch rollup 327317. Also, I've tried to sort out some of the worst inconsistencies in the indentation in rcx_comm.c as it was driving me nuts. It's still a mess, but at least now there exists a tab setting (4) where all indentation is positive and even mostly consistent within each block. Some of the changes: don't use the undefined fd_winux on linux, memcmp -> strncmp for tty check (a bit silly, but it *could* crash on very short strings with memcmp), call dsound_wait (not wait_event) in demo/memtest.c, make realclean really cleans up demo/, added some includes and definitions to get rid of warnings about undefined functions (mostly for lnp-related stuff).

Discussion

  • Carl Troein

    Carl Troein - 2009-05-17
     
  • mesheets

    mesheets - 2009-09-21

    This patch has been incorporated into the Bibo Rollup Release. Please see http://news.lugnet.com/robotics/rcx/legos/?n=4057 for more information.

     
  • mesheets

    mesheets - 2009-11-12
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB