Luca Masini wrote:
> <snip>
> > It is late here....
> > I will look tomorrow at the mch_FullName() in os_unix.c
> The patch moved in mch_FullName() in os_unix.c
>
>
> --------------030608030905060601020801
> Content-Type: text/x-patch;
> name="vim.patch"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
> filename="vim.patch"
>
> diff --recursive --unified vim70/src/os_unix.c vim70-patched/src/os_unix.c
> --- vim70/src/os_unix.c 2006-05-01 10:13:15.000000000 +0200
> +++ vim70-patched/src/os_unix.c 2007-04-16 22:57:06.980184000 +0200
> @@ -2350,6 +2350,10 @@
> if (STRCMP(fname, ".") != 0)
> STRCAT(buf, fname);
>
> +#if defined(__CYGWIN__)
> + cygwin_conv_to_posix_path( buf, buf );
> +#endif
> +
> return OK;
> }
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))
Then all what follows works on the Unix path instead of the MS-DOS path,
which probably won't work.
Also read the comments in mch_FullName() to get an idea of what is going
on there.
--
Mrs Abbott: I'm a paediatrician.
Basil: Feet?
Mrs Abbott: Children.
Sybil: Oh, Basil!
Basil: Well, children have feet, don't they? That's how they move
around, my dear. You must take a look next time, it's most
interesting. (Fawlty Towers)
/// 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 ///