mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
This commit is contained in:
parent
35b9f60ff5
commit
5596f008c6
1
Changes
1
Changes
|
@ -1,6 +1,7 @@
|
|||
Revision history for libev, a high-performance and full-featured event loop.
|
||||
|
||||
- change EV_UNDEF to 0xffffffff to silence some overzealous compilers.
|
||||
- use "(libev) " prefix for all libev error messages now.
|
||||
|
||||
4.00 Mon Oct 25 12:32:12 CEST 2010
|
||||
- "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading.
|
||||
|
|
8
ev.c
8
ev.c
|
@ -593,11 +593,9 @@ ev_syserr (const char *msg)
|
|||
else
|
||||
{
|
||||
#if EV_AVOID_STDIO
|
||||
const char *err = strerror (errno);
|
||||
|
||||
ev_printerr (msg);
|
||||
ev_printerr (": ");
|
||||
ev_printerr (err);
|
||||
ev_printerr (strerror (errno));
|
||||
ev_printerr ("\n");
|
||||
#else
|
||||
perror (msg);
|
||||
|
@ -641,9 +639,9 @@ ev_realloc (void *ptr, long size)
|
|||
if (!ptr && size)
|
||||
{
|
||||
#if EV_AVOID_STDIO
|
||||
ev_printerr ("libev: memory allocation failed, aborting.\n");
|
||||
ev_printerr ("(libev) memory allocation failed, aborting.\n");
|
||||
#else
|
||||
fprintf (stderr, "libev: cannot allocate %ld bytes, aborting.", size);
|
||||
fprintf (stderr, "(libev) cannot allocate %ld bytes, aborting.", size);
|
||||
#endif
|
||||
abort ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue