In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Andy Dougherty) wrote: > Could someone on Win32 also compare this to the perl5 version in > ext/Time/HiRes.xs? There's no reason to have the perl community running > two different versions. In particular, the perl5 version
Sorry... don't have a copy of that... > 1. has the correct return type (int instead of void) What values are returned and when? > 2. subtracts EPOCH_BIAS (no, I don't know what that is, but it > looks > like it might be important.) As I suspected there's a difference at what time is called 0 (seemed unlikely that *nix uses the same as Win32). If someone will let me know when 0 time is for the gettimeofday perl6 is assuming, I can work out the appropriate fiddle factor for Win32. Also, note that Hong Zhang ([EMAIL PROTECTED]) has pointed out a simplification (1 API call rather than 2)... and given I think I've found a working Gnu Diff for Win32 I may be able to submit a real patch (but it'll be the morning before I get sorted out). Richard -- [EMAIL PROTECTED]