From 70b8d2eceb191a126aa12f242cd0ec449fc98465 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 2 Jul 2014 07:13:57 -0700 Subject: Reconstruct missing ChangeLog entry from git log. This entry shows when usleep was added to TXR. --- ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ChangeLog b/ChangeLog index 15b45f87..9745e5f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3993,6 +3993,26 @@ * txr.1: Updated. +2014-01-10 Kaz Kylheku + + * configure (lang_flags): Let us switch from using _XOPEN_SOURCE=2 + to _POSIX_C_SOURCE=199309L and _BSD_SOURCE. + In the .exe suffix test, try harder to redirect ls's output. + Test for fork stuff now needs evidently; + does not necessarily pid_t, even though it defines + functions that return and accept pid_t! + The timegm test no longer needs _SVID_SOURCE since _BSD_SOURCE + covers it, and so we end up not using _SVID_SOURCE any more. + New tests for usleep and nanosleep. + The test for setenv is not conditional on timegm failing. + + * eval.c: Include and conditionally . + (usleep_wrap): New function. + (eval_init): New usleep_wrap function registered as usleep intrinsic. + + * lib.c: Only define setenv and unsetenv if we don't have timegm, + because only in that situation they are used. + 014-01-10 Kaz Kylheku * match.c (do_txeval): Lift an annoying restriction in the pattern -- cgit v1.2.3