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

Comparing libev/ev.c (file contents):
Revision 1.331 by root, Tue Mar 9 08:55:03 2010 UTC vs.
Revision 1.332 by root, Tue Mar 9 08:58:17 2010 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines