Patch 7.4.1014
Problem: `fnamemodify('.', ':.')` returns an empty string in Cygwin.
Solution: Use CCP_RELATIVE in the call to cygwin_conv_path. (Jacob Niehus,
closes #505)
Files: src/os_unix.c
*** ../vim-7.4.1013/src/os_unix.c 2015-12-31 19:06:56.036082038 +0100
--- src/os_unix.c 2015-12-31 21:26:11.449693371 +0100
***************
*** 2464,2470 ****
* This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
*/
# if CYGWIN_VERSION_DLL_MAJOR >= 1007
! cygwin_conv_path(CCP_WIN_A_TO_POSIX, fname, posix_fname, MAXPATHL);
# else
cygwin_conv_to_posix_path(fname, posix_fname);
# endif
--- 2464,2473 ----
* This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
*/
# if CYGWIN_VERSION_DLL_MAJOR >= 1007
! /* Use CCP_RELATIVE to avoid that it sometimes returns a path that ends in
! * a forward slash. */
! cygwin_conv_path(CCP_WIN_A_TO_POSIX | CCP_RELATIVE,
! fname, posix_fname, MAXPATHL);
# else
cygwin_conv_to_posix_path(fname, posix_fname);
# endif
*** ../vim-7.4.1013/src/version.c 2015-12-31 21:19:26.698097931 +0100
--- src/version.c 2015-12-31 21:23:12.015645780 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 1014,
/**/
--
Yesterday is history.
Tomorrow is a mystery.
Today is a gift.
That's why it is called 'present'.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.