Mail Archives: cygwin/2005/10/26/03:54:57
On Oct 25 12:11, Shankar Unni wrote:
> Corinna Vinschen wrote:
>
> >No, it doesn't. I just tried it in 6.3 and this behaviour is the same
> >as in 6.4.
>
> ??
>
> % pwd
> /cygdrive/c/temp/test
> % ls
> % touch x
> % ls -li
> 20547673299962566 -rw-rw-rw- 1 shankar None 0 Oct 25 12:10 x
> % vim X
> % ls -li
> total 1
> 20547673299962566 -rw-rw-rw- 1 shankar None 6 Oct 25 12:10 x
>
> % mount
> <...>
> c: on /cygdrive/c type system (textmode,noumount)
>
>
> Case preserved, and looks like it overwrote the old file (instead of
> moving it out of the way and writing a new file). Running cygwin
> 1.5.18-1, vim 6.3-1 and cygwin 1.5.18-1, but a snapshot DLL:
You're doing something differently here, perhaps in vim itself.
I can easily reproduce with vim 6.3:
$ touch x
$ ls -li
$ total 0
3096224744087416 -rw-r--r-- 1 corinna root 0 Oct 26 09:53 x
$ vim --version | grep IMp
VIM - Vi IMproved 6.3 (2004 June 7, compiled Oct 24 2005 15:22:43)
$ vim X
:w
:q
$ ls -li
total 0
2814749767376804 -rw-r--r-- 1 corinna root 0 Oct 26 09:54 X
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat, Inc.
--
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 -