Re: large files and low memory
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Oct 5, 2010, 01:07 UTC
- Message-ID
- <AANLkTinF5-WoYKDOSwMQudnK9SP-EUx3wWhUMi4z1kv3@mail.gmail.com>
- In-Reply-To
- <20101005005715.GB2768@nibiru.local>
On Tue, Oct 5, 2010 at 00:57, Enrico Weigelt <weigelt@metux.de> wrote:
Show 29 quoted lines
> * Jonathan Nieder <jrnieder@gmail.com> wrote: >> Shawn Pearce wrote: >> >> > The mmap() isn't the problem. Its the allocation of a buffer that is >> > larger than the file in order to hold the result of deflating the file >> > before it gets written to disk. >> >> Wasn't this already fixed, at least in some cases? >> >> commit 9892bebafe0865d8f4f3f18d60a1cfa2d1447cd7 (tags/v1.7.0.2~11^2~1) >> Author: Nicolas Pitre <nico@fluxnic.net> >> Date: Sat Feb 20 23:27:31 2010 -0500 > > I guess I'll have to do a update. > > But: latest tag (1.7.3.1) doesnt build: > > > CC read-cache.o > read-cache.c: In function `fill_stat_cache_info': > read-cache.c:73: structure has no member named `st_ctim' > read-cache.c:74: structure has no member named `st_mtim' > read-cache.c: In function `read_index_from': > read-cache.c:1334: structure has no member named `st_mtim' > read-cache.c: In function `write_index': > read-cache.c:1614: structure has no member named `st_mtim' > make: *** [read-cache.o] Fehler 1 > > Is my libc too old ?
Those lines are accessing members called st_ctime, i.e. with an "e" at the end, but your errors just report "st_ctim". What gives?