delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/07/01:40:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4CAD3AAD.9030204@cwilson.fastmail.fm>
References: <4CAC636E DOT 9070405 AT redhat DOT com> <AANLkTi=NFinUPVzHjaRGhY4P7Pd=NFq+NDM3mLsW-1F2 AT mail DOT gmail DOT com> <4CAC8A1E DOT 5090803 AT redhat DOT com> <AANLkTimmfkVCXwkJ8kDTtFUxLw3QDDNpaNZjODxUNOYg AT mail DOT gmail DOT com> <4CAD3AAD DOT 9030204 AT cwilson DOT fastmail DOT fm>
Date: Thu, 7 Oct 2010 06:39:47 +0100
Message-ID: <AANLkTikMiLJyEC02Wqv0KGCnzbFbRJzqDZs3Wc3Ei6VR@mail.gmail.com>
Subject: Re: mintty postinstall failure - attn: cygutils maintainer
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 7 October 2010 04:12, Charles Wilson wrote:
> On 10/6/2010 2:44 PM, Andy Koppe wrote:
>> I can't see anything obviously wrong with mkshortcut.
>
> Nor can I.
>
>> It converts the
>> link name with cygwin_conv_to_win32_path(), adds '.lnk', and prepends
>> the start menu path.
>>
>> cygwin_conv_to_win32_path() is ...

Hmm, cygwin_conv_to_win32_path() simply invokes this:

  cygwin_conv_path (CCP_POSIX_TO_WIN_A | CCP_RELATIVE, path,  MAX_PATH)

And I can't see anything suspicious in the source code of that either.
Although, what if the 'Cygwin' in 'Cygwin/mintty' happens to be a
symlink in the current directory that points to an absolute path?
Eric?


> Although, all of these instances of cygwin_conv_to_win32_path were
> touched by the widechar patch that somebody, I forget who-- :-) --was
> working on...maybe that patch, as it transitions to using the newer
> cygwin conv interface, would clear things up?
>
> :-)

Yep, it would be great if that somebody finally did get round to break
that patch up into appropriate chunks. ;)

Andy

--
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