|
2017-05-31
| ||
| 13:04 | • Closed ticket [83a3d86972]: tclEpollNotfy.c fails to compile on Linux 2.6.<22... artifact: 9d56ff9b95 user: jan.nijtmans | |
| 13:03 | Fix [83a3d869722fab9caaae3b6728215fb2507a6f0d|83a3d86972]: tclEpollNotfy.c fails to compile on Linux... check-in: 76c5f3c17a user: jan.nijtmans tags: trunk | |
|
2017-05-30
| ||
| 13:22 | • Ticket [83a3d86972] tclEpollNotfy.c fails to compile on Linux 2.6.<22 due to ... artifact: 48e7428861 user: anonymous | |
| 13:19 | • New ticket [83a3d86972]. artifact: 03beba504f user: anonymous | |
tclEpollNotfy.c fails to compile on Linux 2.6.<22 due to unconditionally including <sys/eventfd.h>
Closed / Fixed83a3d869722fab9caaae3b6728215fb2507a6f0dCreated 10 years agoUpdated 10 years ago
Descriptionplain2017-05-30 13:19:51
The new notifier implementation for Linux honours HAVE_EVENTFD in all places save for #include'ing <sys/eventfd.h>, which is unavailable on Linux 2.6.<22: tcl/build.log:329:/var/tmp/kitcreator-test-984582044117946/kitcreator-trunk-tip/tcl/build/tclfossil_trunk/unix/tclEpollNotfy.c:24:25: fatal error: sys/eventfd.h: No such file or directory Fortunately, this is easily fixed by the following diff: --- a/unix/tclEpollNotfy.c +++ b/unix/tclEpollNotfy.c @@ -21,7 +21,9 @@ #include <fcntl.h> #include <signal.h> #include <sys/epoll.h> +#ifdef HAVE_EVENTFD #include <sys/eventfd.h> +#endif /* HAVE_EVENTFD */ #include <sys/queue.h> #include <unistd.h>
Referenced by1
76c5f3c17aFix [83a3d869722fab9caaae3b6728215fb2507a6f0d|83a3d86972]: tclEpollNotfy.c fails to compile on Linux 2.6.<22 due to unconditionally including <sys/eventfd.h> Also re-generate regc_locale.c with Unicode 10 tables: previous generation went horribly wrong somehow... check-in2017-05-31 13:03:54
anonymous Ticket [83a3d86972]: 3 changes
[History diff]2017-05-30 13:22:26
jan.nijtmansplain2017-05-31 13:04:53
Fixed on trunk. Thanks!
Log in (anonymous is fine) to add a comment.