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

Comparing libev/ev.c (file contents):
Revision 1.334 by root, Tue Mar 9 09:00:59 2010 UTC vs.
Revision 1.335 by root, Tue Mar 9 09:02:03 2010 UTC

572{ 572{
573#if __GLIBC__ 573#if __GLIBC__
574 return realloc (ptr, size); 574 return realloc (ptr, size);
575#else 575#else
576 /* some systems, notably openbsd and darwin, fail to properly 576 /* some systems, notably openbsd and darwin, fail to properly
577 * implement realloc (x, 0) (as required by both ansi c-98 and 577 * implement realloc (x, 0) (as required by both ansi c-89 and
578 * the single unix specification, so work around them here. 578 * the single unix specification, so work around them here.
579 */ 579 */
580 580
581 if (size) 581 if (size)
582 return realloc (ptr, size); 582 return realloc (ptr, size);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines