2007-12-19 13:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
 * harbour/contrib/hbct/files.c
>    ! use DATE and TIME parameters formated like for DOS in OS2
>      version of SETFDATI() - David,  if possible please repeat
>      the test from my previous commit, thank you.


Thanks Przemek, results are below

Results of current Harbour devel branch build under OS/2:
- eCS 1.2MR
- gcc (GCC) 3.3.5 (Bird Build 2006-03-18 05:37)
- set C_USR=-DHB_LONG_LONG_OFF

---------------------------------------------------------
[E:\harbour712]make -r           1>make_gnu.log
../../gtstd.c: In function `hb_gt_std_ReadKey':
../../gtstd.c:357: warning: unused variable `TODO'
---------------------------------------------------------

     I'm interesting in results of this code compiled with OS2
     Harbour build:
        proc main()
           local cFile:="_tst.tmp"
           FCLOSE(FCREATE(cFile))
           ? FILEDATE(cFile), FILETIME(cFile)
           ? SETFDATI(cFile,STOD("20061129"),"12:34:45")
           ? FILEDATE(cFile), FILETIME(cFile)
           ? SETFDATI(cFile)
           ? FILEDATE(cFile), FILETIME(cFile)
           FERASE(cFile)
        return


Results of code:
--------------------------------
[E:\harbour712\bin]prueba.exe

12/20/07 00:46:30
.F.
11/29/06 12:34:44
.F.
12/20/07 00:46:30
--------------------------------


David Macias



_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to