This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: timed and glibc cvs


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]