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> <4CAC8A1E DOT 5090803 AT redhat DOT com> <4CAD3AAD DOT 9030204 AT cwilson DOT fastmail DOT fm> Date: Thu, 7 Oct 2010 06:39:47 +0100 Message-ID: Subject: Re: mintty postinstall failure - attn: cygutils maintainer From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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