delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/06/29/14:53:28

Message-Id: <m0yqj1e-000S3uC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Mon, 29 Jun 1998 15:57:55 +0000
MIME-Version: 1.0
Subject: Re: Windows 9X/NT file times
In-reply-to: <Pine.SUN.3.91.980629200514.4204A-100000@is>

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote

Now I found why my box was reporting times for the second column: SET LFN=N, sorry 
Eli, here is a test with LFN=Y.

>    C:\test>touch foo1 foo2 foo3 foo4 foo5 foo6 foo7 foo8 foo9

I used: touch foo[1-9]

>    C:\test>ftimes foo[1-9]
>    foo1   06/29/1998 19:41:16.700  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000
>    foo2   06/29/1998 19:41:16.810  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000
>    foo3   06/29/1998 19:41:16.960  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000
>    foo4   06/29/1998 19:41:17.140  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000
>    foo5   06/29/1998 19:41:17.360  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000
>    foo6   06/29/1998 19:41:17.620  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000
>    foo7   06/29/1998 19:41:17.910  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000
>    foo8   06/29/1998 19:41:16.800  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000
>    foo9   06/29/1998 19:41:16.870  06/29/1998 00:00:00.000  06/29/1998 19:41:16.000

I got:

foo1   06/29/1998 15:39:13.280  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000
foo2   06/29/1998 15:39:21.030  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000
foo3   06/29/1998 15:39:25.140  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000
foo4   06/29/1998 15:39:26.510  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000
foo5   06/29/1998 15:39:27.620  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000
foo6   06/29/1998 15:39:28.610  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000
foo7   06/29/1998 15:39:29.520  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000
foo8   06/29/1998 15:39:30.560  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000
foo9   06/29/1998 15:39:31.960  06/29/1998 00:00:00.000  06/29/1998 15:47:50.000

Surprise! Creation in the future!
Why? don't know so I did the same but this time using SET LFN=Y all the time (first 
time the files were created with LFN=N). Here is the process:

1) "ftimes > foo1" to create the first.
2) "cp foo1 foo2" and so on to create foo2 to 9
3) "ftimes foo[1-9] > pp" gives:

foo1   06/29/1998 15:51:12.380  06/29/1998 00:00:00.000  06/29/1998 15:51:14.000
foo2   06/29/1998 15:51:17.940  06/29/1998 00:00:00.000  06/29/1998 15:51:18.000
foo3   06/29/1998 15:51:19.870  06/29/1998 00:00:00.000  06/29/1998 15:51:20.000
foo4   06/29/1998 15:51:20.720  06/29/1998 00:00:00.000  06/29/1998 15:51:22.000
foo5   06/29/1998 15:51:21.540  06/29/1998 00:00:00.000  06/29/1998 15:51:22.000
foo6   06/29/1998 15:51:22.410  06/29/1998 00:00:00.000  06/29/1998 15:51:24.000
foo7   06/29/1998 15:51:23.280  06/29/1998 00:00:00.000  06/29/1998 15:51:24.000
foo8   06/29/1998 15:51:24.200  06/29/1998 00:00:00.000  06/29/1998 15:51:26.000
foo9   06/29/1998 15:51:25.130  06/29/1998 00:00:00.000  06/29/1998 15:51:26.000

All OK.
4) Now: touch foo[1-9]:

foo1   06/29/1998 15:51:12.380  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000
foo2   06/29/1998 15:51:17.940  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000
foo3   06/29/1998 15:51:19.870  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000
foo4   06/29/1998 15:51:20.720  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000
foo5   06/29/1998 15:51:21.540  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000
foo6   06/29/1998 15:51:22.410  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000
foo7   06/29/1998 15:51:23.280  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000
foo8   06/29/1998 15:51:24.200  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000
foo9   06/29/1998 15:51:25.130  06/29/1998 00:00:00.000  06/29/1998 15:51:44.000

Again! the files are in the future. Looks like touch is messing the creation time. I'll run 
the second test to see if that shows the exact problem.

SET

------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019