/[ascend]/trunk/base/generic/compiler/relation_util.c
ViewVC logotype

Diff of /trunk/base/generic/compiler/relation_util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 707 by johnpye, Mon Jun 26 10:23:08 2006 UTC revision 708 by johnpye, Tue Jun 27 07:34:31 2006 UTC
# Line 3856  char *tmpalloc(int nbytes){ Line 3856  char *tmpalloc(int nbytes){
3856    if( nbytes > 0 ) {    if( nbytes > 0 ) {
3857      if( nbytes > cap ) {      if( nbytes > cap ) {
3858        if( ptr ) ascfree(ptr);        if( ptr ) ascfree(ptr);
3859        ptr = (char *)ascmalloc(nbytes);        ptr = ASC_NEW_ARRAY(char,nbytes);
3860        cap = nbytes;        cap = nbytes;
3861      }      }
3862    }    }

Legend:
Removed from v.707  
changed lines
  Added in v.708

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22