Am Dienstag, 26. Oktober 2010, 15:30:16 schrieb Iain Hibbert:
> - don't test for HAVE_SYS_TIMES_H before we include "config.h"
> 
> - Opengroup specification says that a struct tms * must be
>   passed to times() and some implementations don't validate
>   that, causing a segmentation fault if you pass NULL.
> 
> - cast the clock_t to long for printing
> 
> please note that this usage is still not necessarily correct, the
> spec says that the value returned is "clock ticks" which may be
> something different than "milliseconds"

And the posix manpage specifies it even closer:
"Applications should use sysconf(_SC_CLK_TCK) to determine the number of clock 
ticks per second as it may vary from system to system."

Although that part is only informative, can you fix that, too?

Thanks...

HS

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to