Re: possible bug with getattrlist() and GetFileInfo
Re: possible bug with getattrlist() and GetFileInfo
- Subject: Re: possible bug with getattrlist() and GetFileInfo
- From: Amanda Walker <email@hidden>
- Date: Sat, 30 May 2009 11:54:11 -0400
On May 30, 2009, at 9:57 AM, rohan a wrote:
Hello,
Actually I used the vi editor to modify the file. When I use touch
command or cat >> example the creation time does not change.
But why should this happen? This behaviour is not seen with Windows.
You're not using Windows.
If I recall correctly, vi saves a file by writing out a new copy,
deleting the old one, and then renaming the new copy to the old name.
This way the file is always intact, even if something goes wrong
during the "save" operation. This is fairly common behavior for text
editors on UNIX platforms.
--Amanda
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden