delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/03/17:28:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42505FDA.9080100@iopan.gda.pl>
Date: Sun, 03 Apr 2005 23:27:54 +0200
From: Jacek Piskozub <piskozub AT iopan DOT gda DOT pl>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.7) Gecko/20050403
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: file times still not quite right with 1.5.14 on Windows 98

Hi,

This is funny. I used the same test as Josef Drexler but on Windows ME 
after upgrading to cygwin 1.5.14. Of course the filesystem is also FAT 
(FAT32 in my case).

First I tried it from a DOS window:

C:\Download\test>touch test.txt
C:\Download\test>ls -l test.txt
-rw-r--r--  1 piskozub mkgroup 0 Apr  3 23:16 test.txt
C:\Download\test>ls -l --time=ctime test.txt
-rw-r--r--  1 piskozub mkgroup 0 Apr  3 23:16 test.txt
C:\Download\test>echo > test.txt
C:\Download\test>ls -l test.txt
-rw-r--r--  1 piskozub mkgroup 12 Apr  3 23:18 test.txt
C:\Download\test>ls -l --time=ctime test.txt
-rw-r--r--  1 piskozub mkgroup 12 Apr  3 23:16 test.txt

I believe this is exactly what Josef saw with bash. But then, after 2 
minutes, I start bash and try again:

C:\Download\test>bash
BASH-2.05b$ echo > test.txt
BASH-2.05b$ ls -l test.txt
-rw-r--r--  1 piskozub mkgroup 2 Apr  3 23:20 test.txt
BASH-2.05b$ ls -l --time=ctime test.txt
-rw-r--r--  1 piskozub mkgroup 2 Apr  3 23:20 test.txt

Can you explain this?

Regards,

Jacek

-- 
"He will be succeeded, but he will never be replaced."
       Bishop Robert Brom of the Roman Catholic Diocese of San Diego


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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