Re: MinGW port - initial work uploaded
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 23, 2007, 19:18 UTC
- Message-ID
- <Pine.LNX.4.63.0701232012440.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <46d6db660701231055u63259fave0f33e9b52fc9bff@mail.gmail.com>
Hi,
On Tue, 23 Jan 2007, Christian MICHON wrote:
Show 14 quoted lines
> On 1/23/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > maybe I'm stuck with windows at work, but I still use vim inside mingw. > > > > I don't: > > > > $ vi > > m.AllocationBase 0x0, m.BaseAddress 0x715B0000, m.RegionSize 0x4D0000, > > m.State 0x10000 > > C:\msys1\bin\vim.exe: *** Couldn't reserve space for cygwin's heap > > (0x715B0000 <0xB10000>) in child, Win32 error 487 > > interesting. which version of msys are you using ? > I'm using this snapshot successfully: > msysCORE-1.0.11-2007.01.19-1
I cannot find that file.
Show 12 quoted lines
> > > it would be nice to fix the pager issue... > > > > Go ahead! > > well: > > git log | less > > :) > > seriously enough, I do not know where to start. I guess we're > close to mingw limitations of fork() ??
The problem seems to be more the console attachment. I think that the pager cannot run properly when fork()ed. Rather, the main process has to continue with the execl(pager), while the _child_ should continue to run.
See upload-pack.c for an example how to use _beginthread() to achieve something along those lines.
Hth, Dscho