Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6732) CMA display in city report
Home

[Freeciv-Dev] Re: (PR#6732) CMA display in city report

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6732) CMA display in city report
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Fri, 7 Nov 2003 05:31:20 -0800
Reply-to: rt@xxxxxxxxxxx

On Fri, Nov 07, 2003 at 04:54:45AM -0800, Christian Knoke wrote:
> On Fri, Nov 07, 2003 at 04:29:23AM -0800, Raimar Falke wrote:
> > On Fri, Nov 07, 2003 at 03:26:23AM -0800, Christian Knoke wrote:
> > > On Fri, Nov 07, 2003 at 02:44:20AM -0800, Raimar Falke wrote:
> > > 
> > > > Please apply the patch and mail the output.
> > > 
> > > I've opened a city window, applied a preset, and closed, then opened city
> > > report, sort cma column, closed.
> > 
> > Please test the attached patch.
> 
> Great. And why doesn't anybody see this but me?

Because the memory allocated by your malloc is set to 0 while on other
systems it is set to 1. Note that malloc may return memory which was
freed before by the client. Summary: it depends on libc and maybe also
the compiler, linker, loader, access pattern, ... the whole set.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  The trick is to keep breathing.




[Prev in Thread] Current Thread [Next in Thread]