home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!gatech!concert!sas!mozart.unx.sas.com!walker
- From: walker@twix.unx.sas.com (Doug Walker)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: HELP: malloc() and system dependancy
- Message-ID: <C0p18n.DML@unx.sas.com>
- Date: 11 Jan 93 14:21:59 GMT
- References: <1993Jan10.203944.979@uoft02.utoledo.edu>
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Organization: SAS Institute Inc.
- Lines: 34
- Originator: walker@twix.unx.sas.com
- Nntp-Posting-Host: twix.unx.sas.com
-
-
- In article <1993Jan10.203944.979@uoft02.utoledo.edu>, mneylon@jupiter.cse.utoledo.edu (Michael Neylon) writes:
- |> My friend and I are working together on producing a flashcard program. He
- |> has SAS/C 6.0, I have 6.1. Today, he gave me some code and a executable.
- |> The output seems to work fine on his machine. However, when I try to run
- |> the same executable, there is some memory conflict cause the font gets all
- |> screwed up.
- |>
- |> I figure it is a malloc() call in his program. He has defined it safely
- |> according to standards. Now, is malloc() safe to use on any system?
- |>
- |> He has a 2000 w/ 2.1, very little in the way of commodities ( a screen
- |> blanker is all). I have a 500 w/ 2.1, and lots of extra programs at the top,
- |> including Nickprefs, CopperPrefs, TM2.0, ToolsDaemon 2.0b, MFR, ASwarm3
- |> MagIcon, and use csh for the shell.
-
- malloc() is totally safe on any system. Why do you suspect it of
- causing the problem? Memory-trashing bugs often exhibit wildly
- different behavior on different machines.
-
- If you suspect a memory trash, I recommend using the memlib utility
- routines found in the SC:EXTRAS/MEMLIB drawer to help track it
- down.
-
- |> Michael Neylon aka Masem the Great and Almighty Thermodynamics GOD!
-
- --
- *****
- =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
- *|. o.| || 1200/2400/9600 Dual
- | o |// For all you do, this bug's for you!
- ======
- usenet: walker@unx.sas.com bix: djwalker
- Any opinions expressed are mine, not those of SAS Institute, Inc.
-