Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!wraith.internode.com.au!tipellium.apanix.apana.org.au!usenet From: Lucas James <jj@ldjpc.apana.org.au> Newsgroups: comp.os.386bsd.questions Subject: [FreeBSD-2.0R] munmap Q Date: 31 Jan 1995 17:43:56 GMT Organization: Apanix Public Access Internet (+61 8 373 5485) Lines: 35 Message-ID: <3glsss$9q1@tipellium.apana.org.au> NNTP-Posting-Host: 192.203.213.254 I tried to compile INN1.4. it came up with (in lib/dbz.c) passing of arg 1 from incompatible pointer type. (but allowed the compilation to continue) when I came to run makehistory, the system froze and spurted out thousands of messages on the console, all like: vnode_pager_output: I/O write error what am I doing wrong? the section of code that is the problem is: 846: #ifdef MMAP if (munmap(corepag, (int)conf.tsize * SOF) == -1) { DEBUG(("dbmclose: munmap failed\n")); ret = -1; } #else free((POINTER)corepag); #endif it never gets to the debug statment. ??????? Lucas James jj@ldjpc.apana.org.au