W3C home > Mailing lists > Public > www-validator@w3.org > November 2001

checklink

From: Henk P. Penning <henkp@cs.uu.nl>
Date: Wed, 21 Nov 2001 06:02:36 -0500 (EST)
To: hugo@w3.org
Cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.21.0111211120460.22856-100000@chopin.cs.uu.nl>
Hugo,

  I just installed 'checklink'; very nice.
  Here is an idea for a slight improvement.

    27a28,29
    > use Time::HiRes ;
    > 
    1203,1206c1205,1209
    <     require 'sys/syscall.ph';
    <     my $timestamp = pack('LL', ());
    <     syscall(&SYS_gettimeofday, $timestamp, 0) != -1 or $timestamp = 0;
    <     return($timestamp);
    ---
    >     return pack('LL', Time::HiRes::gettimeofday () );
    > #   require 'sys/syscall.ph';
    > #   my $timestamp = pack('LL', ());
    > #   syscall(&SYS_gettimeofday, $timestamp, 0) != -1 or $timestamp = > 0;
    > #   return($timestamp);

  I think it is better to use Time::HiRes instead of syscall stuff.

  regards.

  Henk Penning

Henk P. Penning, Dept of Computer Science, Utrecht University \__/  \
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. \__/
Telephone: +31-30-2534106, fax: 2513791, NIC-handle: HPP1 _/  \__/  \
News.answers http://www.cs.uu.nl/cgi-bin/faqwais     \__/  \__/  \__/
Received on Wednesday, 21 November 2001 14:54:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT