Thursday 11 April 2013

Checked



Can anyone give me a hint as to why there are garbage symbols after checked option?

3 comments:

  1. figured it out:

    bio::strncpy doesn't add 0 to the end of char array

    ReplyDelete
  2. So how do you get rid of the garbage?

    ReplyDelete
    Replies
    1. either edit the strncpy function inside bconsole.cpp

      or

      edit clabel.cpp and add

      *((char*) _data+Len) = 0;

      after strncpy into _data

      Delete