ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libcoro/coro.c
(Generate patch)

Comparing libcoro/coro.c (file contents):
Revision 1.66 by root, Fri Dec 7 14:21:09 2012 UTC vs.
Revision 1.67 by root, Fri Dec 21 04:48:17 2012 UTC

672 if (!base) 672 if (!base)
673 return 0; 673 return 0;
674 #endif 674 #endif
675 675
676 #if CORO_USE_VALGRIND 676 #if CORO_USE_VALGRIND
677 stack->valgrind_id = VALGRIND_STACK_REGISTER ((char *)base, (char *)ssze - CORO_GUARDPAGES * PAGESIZE); 677 stack->valgrind_id = VALGRIND_STACK_REGISTER ((char *)base, ((char *)base) + ssze - CORO_GUARDPAGES * PAGESIZE);
678 #endif 678 #endif
679 679
680 stack->sptr = base; 680 stack->sptr = base;
681 return 1; 681 return 1;
682 682

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines