timed and glibc cvs

Ulrich Drepper drepper@redhat.com
Sun Nov 5 21:25:00 GMT 2000


Jack Howarth <howarth@bromo.med.uc.edu> writes:

> # define NG_DELAY (30*60*CLK_TCK)       /* 30 minutes */
>         static unsigned long last_update = -NG_DELAY;

This code is wrong.  CLK_TCK is defined (in XSH5, it's removed in
XSH6) as a symbolic name and not a constant.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list