Mail Archives: cygwin-developers/1998/06/03/01:30:41
Hi!
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.
Index: path.cc
===================================================================
RCS file: /usr/cvsroot/cdk/winsup/path.cc,v
retrieving revision 1.11
diff -u -p -r1.11 path.cc
--- path.cc 1998/05/02 09:22:21 1.11
+++ path.cc 1998/06/03 08:01:12
@@ -1562,13 +1564,15 @@ endmntent (FILE *)
extern "C" void
conv_to_win32_path (const char *path, char *win32_path)
{
- cygwin_shared->mount.conv_to_win32_path (path, win32_path, NULL);
+ cygwin_shared->mount.conv_to_win32_path (path_conv (path).get_win32 (),
+ win32_path, NULL);
}
extern "C" void
conv_to_full_win32_path (const char *path, char *win32_path)
{
- cygwin_shared->mount.conv_to_win32_path (path, NULL, win32_path);
+ cygwin_shared->mount.conv_to_win32_path (path_conv (path).get_win32 (),
+ NULL, win32_path);
}
/* This is exported to the world as cygwin32_foo by cygwin.din. */
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
- Raw text -