Luca Masini wrote: > Bram Moolenaar wrote: > > > Why at the end of mch_FullName()? I would guess it needs to be done > > before this line: > > > > /* expand it if forced or not an absolute path */ > > if (force || !mch_isFullName(fname)) > > Ok. > > Luca. > > diff --recursive --unified vim70/src/os_unix.c vim70-patch/src/os_unix.c > --- vim70/src/os_unix.c 2006-05-01 10:13:15.000000000 +0200 > +++ vim70-patch/src/os_unix.c 2007-04-18 00:40:52.747808000 +0200 > @@ -2228,6 +2228,10 @@ > fname = vms_fixfilename(fname); > #endif > > +#ifdef __CYGWIN__ > + cygwin_conv_to_posix_path( fname, fname ); > +#endif > + > /* expand it if forced or not an absolute path */ > if (force || !mch_isFullName(fname)) > {
Hmm, I'm not getting the feeling this has been properly tested. I'll await comments for a while. In src/main.c I found this, perhaps it's also needed in os_unix.c: #ifdef __CYGWIN__ # ifndef WIN32 # include <sys/cygwin.h> /* for cygwin_conv_to_posix_path() */ # endif # include <limits.h> #endif -- FIRST VILLAGER: We have found a witch. May we burn her? "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///