#13731: Fix libsingular memory management
------------------------------------------------------------------+---------
       Reporter:  nbruin                                          |         
Owner:  rlm     
           Type:  defect                                          |        
Status:  new     
       Priority:  major                                           |     
Milestone:  sage-5.6
      Component:  memleak                                         |    
Resolution:          
       Keywords:                                                  |   Work 
issues:          
Report Upstream:  Reported upstream. Developers acknowledge bug.  |     
Reviewers:          
        Authors:                                                  |     Merged 
in:          
   Dependencies:                                                  |      
Stopgaps:          
------------------------------------------------------------------+---------

Comment (by fbissey):

 Replying to [comment:72 SimonKing]:
 > Replying to [comment:71 fbissey]:
 > > I think AC_DEFINE puts stuff in config.h and you would have to include
 config.h before this piece of code.
 >
 > That's probably it! Is it needed to use `AC_SUBS` as well? I read
 somewhere that this would do something with a header file, so, it is not
 clear to me whether `AC_DEFINE` is enough or `AC_SUBS` is needed in
 addition.

 I have read more about it at http://www.gnu.org/savannah-
 checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Defining-
 Symbols.html and it goes in config.h if AC_CONFIG_HEADERS is called.
 AC_SUBST usually acts on Makefile.in preferably generated from Makefile.am
 and you have to put some code for it to work IIRC. Substituting in a
 specific myfile.c.in is something else altogether, I need to look it up.

 I don't know that stuff from the top of my head unfortunately.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13731#comment:73>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to