Update of /cvsroot/playerstage/code/player/server/drivers/wsn
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23342/server/drivers/wsn
Modified Files:
Tag: release-2-0-patches
mica2.cc
Log Message:
build fixes for Solaris
Index: mica2.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/wsn/mica2.cc,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -C2 -d -r1.3.2.1 -r1.3.2.2
*** mica2.cc 7 Jun 2006 16:12:54 -0000 1.3.2.1
--- mica2.cc 25 Sep 2006 15:57:21 -0000 1.3.2.2
***************
*** 272,276 ****
// Change port settings
struct termios options;
! bzero (&options, sizeof (options)); // clear the struct for new settings
// read satisfied if one char received
options.c_cc[VMIN] = 1;
--- 272,276 ----
// Change port settings
struct termios options;
! memset (&options, 0, sizeof (options)); // clear the struct for new
settings
// read satisfied if one char received
options.c_cc[VMIN] = 1;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit