1 | Revision history for Perl extension EV |
1 | Revision history for Perl extension EV |
2 | |
2 | |
3 | Changes marked with (libev) are changes in libev, and have more |
3 | Changes marked with (libev) are changes in libev, and have more |
4 | documentation in the libev Changes file. |
4 | documentation in the libev Changes file. |
|
|
5 | |
|
|
6 | > > midnight, to keep the example simple. If you know a way to do it correctly |
|
|
7 | > > in about the same space (without requiring elaborate modules), drop me a |
|
|
8 | > > note :): |
|
|
9 | > > |
|
|
10 | > > Dein Beispiel: |
|
|
11 | > > use Time::Local (); |
|
|
12 | > > my (undef, undef, undef, $d, $m, $y) = localtime $now; |
|
|
13 | > > 86400 + Time::Local::timelocal 0, 0, 0, $d, $m, $y |
|
|
14 | > > |
|
|
15 | > > Meine bevorzugte Variante: |
|
|
16 | > > use Time::Local (); |
|
|
17 | > > my (undef, undef, undef, $d, $m, $y) = localtime $now; |
|
|
18 | > > (undef, undef, undef, $d, $m, $y) = localtime 86400 + 3600 + |
|
|
19 | > > Time::Local::timelocal 0, 0, 0, $d, $m, $y; |
|
|
20 | > > Time::Local::timelocal 0, 0, 0, $d, $m, $y; |
|
|
21 | > > |
|
|
22 | > > Golf: |
|
|
23 | > > use Time::Local (); |
|
|
24 | > > Time::Local::timelocal 0, 0, 0, (localtime 86400 + 3600 + |
|
|
25 | > > Time::Local::timelocal 0, 0, 0, (localtime $now)[3..5])[3..5]; |
|
|
26 | |
|
|
27 | - only use __register_atfork with glibc and uclibc, as musl |
|
|
28 | defines __linux__, but doesn't implement the linux standard |
|
|
29 | base ABI, nor makes itself detectable via a macro, both apparently |
|
|
30 | by design, winning the "broken by design 2016 award" - well done. |
5 | |
31 | |
6 | 4.22 Sun Dec 20 02:34:39 CET 2015 |
32 | 4.22 Sun Dec 20 02:34:39 CET 2015 |
7 | - (libev) when epoll detects unremovable fds in the fd set, rebuild |
33 | - (libev) when epoll detects unremovable fds in the fd set, rebuild |
8 | only the epoll descriptor, not the signal pipe, to avoid |
34 | only the epoll descriptor, not the signal pipe, to avoid |
9 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |
35 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |