Mercurial > vim
view src/proto/os_mac_conv.pro @ 7420:37092e334ef2 v7.4.1014
commit https://github.com/vim/vim/commit/06b0734d9cd2f39d4c12c7fd89a100eadbe5be78
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 31 22:26:28 2015 +0100
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 https://github.com/vim/vim/issues/505)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Dec 2015 22:30:05 +0100 |
parents | b9740fb41986 |
children | 7fda54504fee |
line wrap: on
line source
/* os_mac_conv.c */ char_u *mac_string_convert __ARGS((char_u *ptr, int len, int *lenp, int fail_on_error, int from_enc, int to_enc, int *unconvlenp)); int macroman2enc __ARGS((char_u *ptr, long *sizep, long real_size)); int enc2macroman __ARGS((char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest, int *restlenp)); void mac_conv_init __ARGS((void)); void mac_conv_cleanup __ARGS((void)); char_u *mac_utf16_to_enc __ARGS((unsigned short *from, size_t fromLen, size_t *actualLen)); unsigned short *mac_enc_to_utf16 __ARGS((char_u *from, size_t fromLen, size_t *actualLen)); void * mac_enc_to_cfstring __ARGS((char_u *from, size_t fromLen)); char_u *mac_precompose_path __ARGS((char_u *decompPath, size_t decompLen, size_t *precompLen)); void mac_lang_init __ARGS((void)); /* vim: set ft=c : */