🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11110

Re: FreePotBits

#11110
From: John Lee
Date: Mon, 23 Jan 1989 01:26
30 lines
1417 bytes
In article <64@sdcc10.ucsd.EDU> cs161agc@sdcc10.ucsd.edu.UUCP (John Schultz) writes:
<
<
<  FreePotBits does nothing.  Is this bug so well
<known that no one talks about it?  Here's an example code fragment:
<
<  // open the potgo resource etc.
<
<  allocmask = AllocPotBits(MASK);
Ah.  Here's your problem.   ^^^^ That should be AllocPotBits(MASK, PotgoBase).
<  if (allocmask != MASK) {
<    printf("error blah blah...");
<    FreePotBits(allocmask);
                 ^^^^^^^^^ FreePotBits(allocmask, PotgoBase)
<    exit(0);
<  } // end if
<
<  FreePotBits(allocmask);
               ^^^^^^^^^ ditto.
<// end of program fragment
<
[...]
<  Thanks,
<
<  John Schultz
< 
------------------------------------------------------------------------------
Raining CATS & DOGS?  Join the RATS: Remote Amiga Teleconferencing System.
ARPAnet: johnhlee@cory.Berkeley.EDU		John Lee
UUCP:    ...!ucbvax!cory!johnhlee
Technical Details
Message-ID: <8999@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!uwvax!rutgers!ucsd!ucbvax!pasteur!cory.Berkeley.EDU!johnhlee
References: <64@sdcc10.ucsd.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!uwvax!rutgers!ucsd!ucbvax!pasteur!cory.Berkeley.EDU!johnhlee
From: johnhlee@cory.Berkeley.EDU (John Lee)
Newsgroups: comp.sys.amiga.tech
Subject: Re: FreePotBits
Summary: It works for me.
Message-ID: <8999@pasteur.Berkeley.EDU>
Date: 23 Jan 89 01:26:23 GMT
References: <64@sdcc10.ucsd.EDU>
Sender: news@pasteur.Berkeley.EDU
Reply-To: johnhlee@cory.Berkeley.EDU.UUCP (John Lee)
Organization: University of California, Berkeley
Lines: 30