home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / programm / 7513 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.0 KB  |  30 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!noc.near.net!saturn.caps.maine.edu!gandalf!jurlwin
  3. From: jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin)
  4. Subject: Re: malloc() and swapper.dat problems ....
  5. Message-ID: <1993Jan12.025611.7172@gandalf.UMCS.Maine.EDU>
  6. Organization: University of Maine, Department of Computer Science
  7. References: <1993Jan10.200412.454149@sue.cc.uregina.ca> <1993Jan11.073220.6853@netcom.com>
  8. Date: Tue, 12 Jan 1993 02:56:11 GMT
  9. Lines: 19
  10.  
  11. In article <1993Jan11.073220.6853@netcom.com> daveb@netcom.com (Dave Briccetti) writes:
  12. >malloc takes a "size_t" as an argument.  Your argument is too big.
  13.  
  14. Sorry.  Not the case with a 32bit compiler.  (size_t is unsigned int, thus
  15. possible values are in the range of 0..4,294,967,296 (inclusive)).
  16.  
  17. The problem is not allocating enough space for all those integers to be 
  18. scanned through.
  19.  
  20. Jeff
  21. >
  22. >Dave Briccetti, Owner, Dave Briccetti & Associates
  23. >OS/2 Developer/Consultant
  24. >P.O. Box 1713
  25. >Lafayette, CA  94549-7013
  26. -- 
  27. --------------------------------------
  28. jurlwin@gandalf.umcs.maine.edu
  29.  
  30.