www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/20/10:22:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: [ANNOUNCEMENT] Updated: vim-7.3.003-1
Date: Fri, 20 Aug 2010 16:21:00 +0200
Lines: 25
Message-ID: <i4m30p$7rj$2@dough.gmane.org>
References: <announce DOT 20100819185447 DOT GW11340 AT calimero DOT vinschen DOT de> <4C6DAD71 DOT 106 AT acm DOT org> <20100820082433 DOT GA28236 AT calimero DOT vinschen DOT de> <i4lqbd$s6v$1 AT dough DOT gmane DOT org> <20100820123708 DOT GC11340 AT calimero DOT vinschen DOT de> <i4m0gv$7rj$1 AT dough DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/3.0.2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

* Thorsten Kampe (Fri, 20 Aug 2010 15:38:26 +0200)
> I reinstalled vim and got the exact same message again ("Unable to 
> extract /usr/bin/vi -- the file is use."). A simultaneous process 
> monitor log shows that CreateFile operations result in "DELETE PENDING" 
> ("Desired Access: Read Control, Disposition: Open, Options: Open Reparse 
> Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: 
> n/a"). Clicking two times on Retry (without changing anything else) 
> let's the installation continue.
> 
> I ran Process Explorer and it looks like zsh has handles open to vi, 
> vim, view and vimdiff - although these executables are definitely not 
> running.

Okay, coming closer (and getting weirder):
"type jed"[1] creates handles to vi, vim, view and vimdiff (but not in 
bash). Zsh is the latest available one via setup.exe (zsh 4.3.10-dev-2).

It still doesn't explain why only the creation of the symlinks (vi and 
ex) fails and not the replacement of vim itself.


Thorsten
[1] Part of...
"type jed &> /dev/null && DEFAULT_EDITOR=jed || DEFAULT_EDITOR=vim"
...im my .zshrc


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

- Raw text -


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