* ldd.cc (report): Drop long pathname considerations which result in
invalid path, now that this is done in cygwin_conv_path.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2010-08-21  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* ldd.cc (report): Drop long pathname considerations which result in | ||||||
|  | 	invalid path, now that this is done in cygwin_conv_path. | ||||||
|  |  | ||||||
| 2010-08-13  Corinna Vinschen  <corinna@vinschen.de> | 2010-08-13  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* mount.cc (from_fstab): Fix potentially fatal typo. | 	* mount.cc (from_fstab): Fix potentially fatal typo. | ||||||
|   | |||||||
| @@ -274,16 +274,9 @@ report (const char *in_fn, bool multiple) | |||||||
|     print_errno_error_and_return (fn); |     print_errno_error_and_return (fn); | ||||||
|  |  | ||||||
|   bool isdll; |   bool isdll; | ||||||
|   wchar_t fn_win_buf[len + 1]; |   wchar_t fn_win[len + 1]; | ||||||
|   if (cygwin_conv_path (CCP_POSIX_TO_WIN_W, fn, fn_win_buf, len)) |   if (cygwin_conv_path (CCP_POSIX_TO_WIN_W, fn, fn_win, len)) | ||||||
|     print_errno_error_and_return (fn); |     print_errno_error_and_return (fn); | ||||||
|   wchar_t *fn_win = fn_win_buf + 4; |  | ||||||
|  |  | ||||||
|   if (wcsncmp (fn_win_buf, L"\\\\?\\UNC\\", 8) == 0) |  | ||||||
|     { |  | ||||||
|       fn_win += 2; |  | ||||||
|       *fn_win = L'\\'; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|   if (!fn || start_process (fn_win, isdll)) |   if (!fn || start_process (fn_win, isdll)) | ||||||
|     print_errno_error_and_return (in_fn); |     print_errno_error_and_return (in_fn); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user