Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!ANDREW.CMU.EDU!wjh+ From: wjh+@ANDREW.CMU.EDU (Fred Hansen) Newsgroups: comp.soft-sys.andrew Subject: Re: Status of ATK on HP-UX Message-ID: Date: 16 Jan 90 16:50:35 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 44 Excerpts from internet.info-andrew: 15-Jan-90 Status of ATK on HP-UX Jean Gascon@iag.hp.com (4180+0) > Solution: overhead/malloc/malloc.ci needs an #include . Well, it has one. But its after the call to bcopy. Solution: move lines 1037 and 1038 to follow line 51: diff -c ~/bs/overhead/malloc/malloc.ci /tmp/malloc.ci *** /afs/andrew.cmu.edu/usr13/wjh/bs/overhead/malloc/malloc.ci Tue Dec 12 16:24:20 1989 --- /tmp/malloc.ci Tue Jan 16 11:46:00 1990 *************** *** 49,55 **** --- 49,58 ---- #include #include "malloc.h" #include "imalloc.h" + #include /* bcopy, sys/types.h, sys/time.h */ + #include + static char msgbuf[200]; #define ferr4(fmt, a, b, c, d) {sprintf(msgbuf, fmt, a, b, c, d); \ write(2, msgbuf, strlen(msgbuf));} *************** *** 1034,1041 **** } - #include /* sys/types.h sys/time.h */ - #include /* must be the right number, is the same used by 4.3 on vax and s800 */ #ifdef hp9000s300 #define RLIMIT_DATA 2 --- 1037,1042 ---- > By the way: why not call the file malloc.c (the .ci extension makes > this file invisible to a grep *.c). (sigh) there is a malloc.c. And a pmalloc.c. Both .c files consist almost entirely of #include . This should now be done in the Imakefile by testing MALLOC_DEBUG_ENV, but changing file names will be confusing at this point.