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 DOS

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 this:

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 new definition

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 default a

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

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 impossible What

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

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 was

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 your 6.4

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 former

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: E303:

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 in swap