Article View: comp.os.os2.programmer
Article #3452Re: malloc() and swapper.dat problems ....
From: Jeff Urlwin
Date: Tue, 12 Jan 1993 02:56
Date: Tue, 12 Jan 1993 02:56
18 lines
1092 bytes
1092 bytes
In article <1993Jan11.073220.6853@netcom.com> daveb@netcom.com (Dave Briccetti) writes: >malloc takes a "size_t" as an argument. Your argument is too big. Sorry. Not the case with a 32bit compiler. (size_t is unsigned int, thus possible values are in the range of 0..4,294,967,296 (inclusive)). The problem is not allocating enough space for all those integers to be scanned through. Jeff > >Dave Briccetti, Owner, Dave Briccetti & Associates >OS/2 Developer/Consultant >P.O. Box 1713 >Lafayette, CA 94549-7013 -- -------------------------------------- jurlwin@gandalf.umcs.maine.edu
Technical Details
Message-ID:
<1993Jan12.025611.7172@gandalf.UMCS.Maine.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!saturn.caps.maine.edu!gandalf!jurlwinReferences:
<1993Jan10.200412.454149@sue.cc.uregina.ca> <1993Jan11.073220.6853@netcom.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!saturn.caps.maine.edu!gandalf!jurlwin From: jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin) Subject: Re: malloc() and swapper.dat problems .... Message-ID: <1993Jan12.025611.7172@gandalf.UMCS.Maine.EDU> Organization: University of Maine, Department of Computer Science References: <1993Jan10.200412.454149@sue.cc.uregina.ca> <1993Jan11.073220.6853@netcom.com> Date: Tue, 12 Jan 1993 02:56:11 GMT Lines: 19