_ftime patch

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Mar 8 15:27:22 CST 2004


>>>>> "Hans" == Hans Leidekker <hans at it.vu.nl> writes:

    Hans> On Monday 08 March 2004 07:56, Johannes Gajdosik wrote:
    >> I found that the _ftime-function only returns seconds, not
    >> milliseconds.  Therefore I would like to send you a patch that uses
    >> gettimeofday().

    Hans> Your efforts are appreciated but an implementation that uses Win32
    Hans> API's would be better since that would make msvcrt (and thus Wine)
    Hans> more portable. Right now msvcrt uses only two unix API's, times()
    Hans> and localtime(), and I was planning to get rid of those in order
    Hans> to make it build on MinGW.

Also timezones and such complications may be better handled that way... 

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list