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