[BACK]Return to malloc.c CVS log [TXT][DIR] Up to [local] / prex-old / usr / lib / prex / malloc

Diff for /prex-old/usr/lib/prex/malloc/malloc.c between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:50 version 1.1.1.1.2.1, 2008/08/13 17:12:41
Line 27 
Line 27 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
   #include <sys/types.h>
 #include <prex/prex.h>  #include <prex/prex.h>
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/syslog.h>  #include <sys/syslog.h>
 #include <string.h>  #include <string.h>
 #include <errno.h>  #include <errno.h>
   #include <stdlib.h>
 #include "malloc.h"  #include "malloc.h"
   
 #ifdef _REENTRANT  #ifdef _REENTRANT
Line 169 
Line 171 
 {  {
         struct header *p;          struct header *p;
   
         syslog(LOG_INFO, "mstat: task=%x\n", task_self());          printf("mstat: task=%x\n", task_self());
         for (p = free_list.next; p != &free_list; p = p->next) {          for (p = free_list.next; p != &free_list; p = p->next) {
                 syslog(LOG_INFO, "mstat: addr=%x size=%d next=%x\n", p, p->size, p->next);                  printf("mstat: addr=%x size=%d next=%x\n", p, p->size, p->next);
         }          }
 }  }
 #endif  #endif

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb