VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Oct 17 2005 11:54:34

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Oct 26 07:54:00 GMT 2005


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/



More information about the Cygwin mailing list