From 12f9fb4972db8e9a25cff1cd7a9b847cd2846556 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 28 Mar 2005 18:06:49 +0000 Subject: [PATCH] * timer.cc (timer_tracker::timer_tracker): Eliminate simple constructor. (ttstart): Fully initialize. * errno.cc: Fix typo introduced in previous change. --- winsup/cygwin/ChangeLog | 8 ++++++++ winsup/cygwin/errno.cc | 2 +- winsup/cygwin/timer.cc | 3 +-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ad72bfb88..ad2c2267f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,11 @@ +2005-03-28 Christopher Faylor + + * timer.cc (timer_tracker::timer_tracker): Eliminate simple + constructor. + (ttstart): Fully initialize. + + * errno.cc: Fix typo introduced in previous change. + 2005-03-28 Eric Blake * errno.cc (FILENAME_EXCED_RANGE): Map to ENAMETOOLONG. diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc index c2ba157d8..265e42318 100644 --- a/winsup/cygwin/errno.cc +++ b/winsup/cygwin/errno.cc @@ -78,7 +78,7 @@ static NO_COPY struct X (BUSY, EBUSY), X (ALREADY_EXISTS, EEXIST), X (NO_SIGNAL_SENT, EIO), - X (FILENAME_EXCED_RANGE, ENAMETOOLONG, + X (FILENAME_EXCED_RANGE, ENAMETOOLONG), X (META_EXPANSION_TOO_LONG, EINVAL), X (INVALID_SIGNAL_NUMBER, EINVAL), X (THREAD_1_INACTIVE, EINVAL), diff --git a/winsup/cygwin/timer.cc b/winsup/cygwin/timer.cc index 1ab6616d3..fccc4656f 100644 --- a/winsup/cygwin/timer.cc +++ b/winsup/cygwin/timer.cc @@ -35,12 +35,11 @@ struct timer_tracker int settime (int, const itimerspec *, itimerspec *); void gettime (itimerspec *); timer_tracker (clockid_t, const sigevent *); - timer_tracker () {}; ~timer_tracker (); friend void fixup_timers_after_fork (); }; -timer_tracker NO_COPY ttstart; +timer_tracker NO_COPY ttstart (CLOCK_REALTIME, NULL); class lock_timer_tracker { -- 2.43.5