[Tinyos-2-commits] CVS: tinyos-2.x/support/sdk/c serialsource.c,
1.1.2.2, 1.1.2.3
David Gay
idgay at users.sourceforge.net
Mon May 15 08:58:59 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/support/sdk/c
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26829
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
serialsource.c
Log Message:
Bug fixes from Bart Braem (bart.braem at gmail.com)
Index: serialsource.c
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/sdk/c/Attic/serialsource.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** serialsource.c 2 May 2006 22:52:07 -0000 1.1.2.2
--- serialsource.c 15 May 2006 15:58:57 -0000 1.1.2.3
***************
*** 207,210 ****
--- 207,211 ----
cnt = -1;
errno = EAGAIN;
+ printf("foo\n");
}
return cnt;
***************
*** 274,278 ****
if (src)
{
! memset(src, 0, sizeof src);
src->fd = fd;
src->non_blocking = non_blocking;
--- 275,279 ----
if (src)
{
! memset(src, 0, sizeof *src);
src->fd = fd;
src->non_blocking = non_blocking;
***************
*** 392,396 ****
{
/* I'm assuming short queues */
! struct packet_list *entry = malloc(sizeof *packet), **last;
if (!entry)
--- 393,397 ----
{
/* I'm assuming short queues */
! struct packet_list *entry = malloc(sizeof *entry), **last;
if (!entry)
More information about the Tinyos-2-commits
mailing list