This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: file times still not quite right with 1.5.14 on Windows 98
- From: Jacek Piskozub <piskozub at iopan dot gda dot pl>
- To: cygwin at cygwin dot com
- Date: Sun, 03 Apr 2005 23:27:54 +0200
- 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/