rem: sprintf(RErrorString, "out of memory");
context: load_pixmap(char *file_name, FILE *file, int w, int h, int max, int raw){    RImage *image;    int i;    char buf[3];    char *r, *g, *b;        image = RCreateImage(w, h, 0);    if (!image) {	sprintf(RErrorString, "out of memory");	return NULL;    }    r = image->data[0];    g = image->data[1];    b = image->data[2];    if (!raw) {	    } else {	if (max<256) {	    i = 0;	    while (i < w*h) {		if (fread(buf, 1, 3, file)!=3)		    goto short_file;		*(r++) = buf[0];		*(g++) = buf[1];		*(b++) = buf[2];		i++;	    }	} else {	    	}    }        return image;      short_file:    sprintf(RErrorString, "PPM file \"%s\" seems to be truncated", file_name);    return NULL;}