Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-16 Thread Corinna Vinschen
On Oct 13 14:06, Gary Johnson wrote: > I thought the purpose of Cygwin was to provide a Linux-like > environment for applications, so that, for example, one could simply > recompile under Cygwin an application written for Linux and not have > to rewrite the file-handling routines to recognize DO

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-16 Thread Corinna Vinschen
On Oct 13 18:10, James Vega wrote: > On Fri, Oct 13, 2006 at 10:34:40PM +0200, Corinna Vinschen wrote: > > On Oct 13 16:06, James Vega wrote: > > > On Fri, Oct 13, 2006 at 09:38:16PM +0200, Corinna Vinschen wrote: > > > > Interesting enough it works in 6.4 without doing anything similar to my > > >

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread James Vega
On Fri, Oct 13, 2006 at 10:34:40PM +0200, Corinna Vinschen wrote: > On Oct 13 16:06, James Vega wrote: > > On Fri, Oct 13, 2006 at 09:38:16PM +0200, Corinna Vinschen wrote: > > > Interesting enough it works in 6.4 without doing anything similar to my > > > patch does to os_unix.c. What's different

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Gary Johnson
On 2006-10-13, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Oct 13 21:53, Yakov Lerner wrote: > > On 10/13/06, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > >Hi, > > > > > >I got a report on the Cygwin mailing list that the following message > > >appears when trying to open /etc/hosts in vim:

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 16:06, James Vega wrote: > On Fri, Oct 13, 2006 at 09:38:16PM +0200, Corinna Vinschen wrote: > > Interesting enough it works in 6.4 without doing anything similar to my > > patch does to os_unix.c. What's different in swap file handling between > > 6.4 and 7.0 so that it works in the for

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 22:02, A.J.Mechelynck wrote: > Corinna Vinschen wrote: > >Interesting enough it works in 6.4 without doing anything similar to my > >patch does to os_unix.c. What's different in swap file handling between > >6.4 and 7.0 so that it works in the former but doesn;t in the latter? > > Is yo

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread James Vega
On Fri, Oct 13, 2006 at 09:38:16PM +0200, Corinna Vinschen wrote: > Interesting enough it works in 6.4 without doing anything similar to my > patch does to os_unix.c. What's different in swap file handling between > 6.4 and 7.0 so that it works in the former but doesn;t in the latter? memline.c w

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Ilya Bobir
Yakov Lerner wrote: [...] I mean, I tried 'ls c:\windows' in cygwin and it does not work .. strange is it issue of version of cygwin ? I saw even weirder differences in cygwin behaviour ... fat32 vs ntfs differences... Maybe this is because \ have a special meaning for bash or some othe

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 21:53, Yakov Lerner wrote: > On 10/13/06, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > >Hi, > > > >I got a report on the Cygwin mailing list that the following message > >appears when trying to open /etc/hosts in vim: > > > > E303: Unable to open swap file for "/etc/hosts", recovery imp

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread A.J.Mechelynck
Corinna Vinschen wrote: On Oct 13 21:33, Corinna Vinschen wrote: On Oct 13 21:16, Bram Moolenaar wrote: Corinna Vinschen wrote: [...] Below is a patch which works for me, though I'm not sure if it's complete enough to catch all cases. There's code for OS2 in os_unix.c which I reused, plus a n

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Yakov Lerner
On 10/13/06, Corinna Vinschen <[EMAIL PROTECTED]> wrote: Hi, I got a report on the Cygwin mailing list that the following message appears when trying to open /etc/hosts in vim: E303: Unable to open swap file for "/etc/hosts", recovery impossible What happens is this: /etc/hosts is by defaul

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 21:33, Corinna Vinschen wrote: > On Oct 13 21:16, Bram Moolenaar wrote: > > Corinna Vinschen wrote: > > > [...] > > > Below is a patch which works for me, though I'm not sure if it's > > > complete enough to catch all cases. There's code for OS2 in os_unix.c > > > which I reused, plus a

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 21:16, Bram Moolenaar wrote: > Corinna Vinschen wrote: > > > I got a report on the Cygwin mailing list that the following message > > appears when trying to open /etc/hosts in vim: > > > > E303: Unable to open swap file for "/etc/hosts", recovery impossible > > > > What happens is th

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Bram Moolenaar
Corinna Vinschen wrote: > I got a report on the Cygwin mailing list that the following message > appears when trying to open /etc/hosts in vim: > > E303: Unable to open swap file for "/etc/hosts", recovery impossible > > What happens is this: > > /etc/hosts is by default a symbolic link whic

[PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
Hi, I got a report on the Cygwin mailing list that the following message appears when trying to open /etc/hosts in vim: E303: Unable to open swap file for "/etc/hosts", recovery impossible What happens is this: /etc/hosts is by default a symbolic link which points to the hosts file in the Win