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

Comparing libev/ev.c (file contents):
Revision 1.332 by root, Tue Mar 9 08:58:17 2010 UTC vs.
Revision 1.333 by root, Tue Mar 9 08:58:22 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
577 if (size) 578 if (size)
578 return realloc (ptr, size); 579 return realloc (ptr, size);
579 580
580 free (ptr); 581 free (ptr);
581 return 0; 582 return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines