Re: Cygwin can't handle huge packfiles?
- From
- Morten Welinder <mwelinder@gmail.com>
- Date
- Apr 3, 2006, 14:26 UTC
- Message-ID
- <118833cc0604030726r44b0682etec3349f62986e3c0@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.63.0604031521170.4011@wbgn013.biozentrum.uni-wuerzburg.de>
> The problem is not mmap() on cygwin, but that a fork() has to jump through > loops to reinstall the open file descriptors on cygwin. If the > corresponding file was deleted, that fails. Therefore, we work around that > on cygwin by actually reading the file into memory, *not* mmap()ing it.
Maybe, but you aren't going to be able to handler much bigger packs even on *nix. Unless you go 64-bit, that is.
M.