[gmx-developers] make_ndx 4.0 segfaults with tprs

Erik Lindahl lindahl at cbr.su.se
Tue Oct 14 19:02:39 CEST 2008


Hi,

On Oct 14, 2008, at 3:09 PM, Ran Friedman wrote:

>
>> In the long run I think it's much better if we start using the
>> standard C (or C++ if we go that way...) memory allocation calls.
>> It is easier to understand for a new programmer, and just a couple of
>> more keystrokes for everyone else.
> I must admit I like the current scheme, which actually makes the  
> code a
> little bit easier to read and write once you get used to it, at  
> least as
> long as C is used.

Oh yes, coding-wise it's fine - the only problem is that if you try to  
combine it with malloc tracing (as e.g. the GNU C library can do  
automatically) every single free/alloc will be from the same line in  
the code ;-)

Cheers,

Erik





More information about the gromacs.org_gmx-developers mailing list