/*
**    Name: rmarealloc.c
**
**    Date: Sun Jan  5 16:32:51 2003
**
*/

#include "rmamem.h"
#include <stdio.h>

char *rmadebugrealloc(int line,char *file,void *ptr,size_t size)
    {
    FILE *fh;

    fh = fopen("ram::0.$.deb","a");
    if (fh != NULL)
        {
        fprintf(fh,"rmadebugrealloc: %s %d  addr: %d  size: %d\n",
                file,line,ptr,size);
        fclose(fh);
        }

    return rmarealloc(ptr,size);
    }
