From: noer AT cygnus DOT com (Geoffrey Noer) Subject: Re: Path converting fix. 3 Jun 1998 02:00:40 -0700 Message-ID: <19980603015552.H21723.cygnus.cygwin32.developers@cygnus.com> References: <01BD8EE9 DOT AA0DFED0 AT sos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Sergey Okhapkin , "'cygwin32-developers AT cygnus DOT com'" Cc: Geoffrey Noer On Wed, Jun 03, 1998 at 12:15:37PM +0400, Sergey Okhapkin wrote: > > Try to view source file in gdbtk window if the file is a symlink :-) > > > path.cc (conv_to_win32_path, conv_to_full_win32_path): resolve > symlinks before converting. I don't understand why it needs to be done at this point. Say we have /foo/symbar that points to /foo/bar. If we convert /foo/symbar to Win32, shouldn't we have C:/foo/symbar after the conversion? As long as the path is handed back to a Cygwin32 function, the symlink would get discovered eventually, right? On the other hand, tcl/tk don't always use Cygwin32 so that might be the reason why gdbtk is having problems... What's the correct solution? -- Geoffrey Noer noer AT cygnus DOT com