From: Serguei.Dachian@univ-lemans.fr (Serguei DACHIAN)
Subject: Time problems with B20.1
17 Dec 1998 13:46:34 -0800
Message-ID: <1.5.4.32.19981217134354.0067384c.cygnus.gnu-win32@lola.univ-lemans.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: gnu-win32@cygnus.com

Hi, everybody.

Here is a little piece of code from one of my programs.  When the program is
run with Sergey's coolview as cygwin1.dll it works great, but when B20.1
official dll is used, the printed time is completely erroneous!!!  Why???

> struct timeb tb;
> char StTm[64];
>
> ftime(&tb);
> strcpy(StTm, ctime(&(tb.time)));
> StTm[strlen(StTm)-1]='\0';
> printf( "%s\n", StTm );

Serguei.
___________________________________________________________________________
Serguei DACHIAN
Laboratoire de Statistique et Processus,
Universite du Maine, Av. Olivier Messiaen
72085 Le Mans CEDEX 9, FRANCE
Tel.   : +33 (0)2 43 83 37 18
Fax.   : +33 (0)2 43 83 35 79
E-mail : Serguei.Dachian@univ-lemans.fr
WWW    : http://www.univ-lemans.fr/sciences/statist/cvs/thesard.html#dachian

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
