🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Manx bug?

#10295
From: Erik J. Bennett
Date: Wed, 16 Nov 1988 03:45
14 lines
678 bytes


Why doesn't this work?

        objectTable = (struct objectStruct *)
                calloc((unsigned) 9000, 10);

It needs to allocate 90000 bytes.  It doesn't.  It allocate (90000-6553?)
bytes.  I think this is an overflow error.  My real question is, How do
I get around this barrier?

-Erik
bennete@romana.cs.orst.edu
Technical Details
Message-ID: <7392@orstcs.CS.ORST.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!orstcs!romana!bennete

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!orstcs!romana!bennete
From: bennete@romana.cs.orst.edu (Erik J. Bennett)
Newsgroups: comp.sys.amiga.tech
Subject: Manx bug?
Keywords: calloc
Message-ID: <7392@orstcs.CS.ORST.EDU>
Date: 16 Nov 88 03:45:23 GMT
Sender: usenet@orstcs.CS.ORST.EDU
Lines: 14