delorie.com/archives/browse.cgi | search |
From: | "Marcus" <mesthlm AT hem DOT passagen DOT se> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Prevent crash on free() |
Date: | Tue, 29 Feb 2000 13:08:37 +0100 |
Organization: | Telenordia |
Lines: | 22 |
Message-ID: | <89gd09$f0k$1@cubacola.tninet.se> |
References: | <Pine DOT LNX DOT 4 DOT 10 DOT 10002290514060 DOT 1008-100000 AT darkstar DOT grendel DOT net> |
NNTP-Posting-Host: | 193.150.200.251 |
X-Trace: | cubacola.tninet.se 951826249 15380 193.150.200.251 (29 Feb 2000 12:10:49 GMT) |
X-Complaints-To: | abuse AT algo DOT net |
NNTP-Posting-Date: | 29 Feb 2000 12:10:49 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Kalum Somaratna aka Grendel" <kalum AT crosswinds DOT net> wrote: > You want to know wehther it is a char *p, or a char *p=malloc(10); > Am I correct? Yes!! > so example code would be Ok, I try... Thanks... Maybe you can answer this. Is it possible to do a catch a crash? :) I mean, prevent the program from crashing. Instead raise an exception or something like that. -- /regards Marcus Hi, I'm a signature virus. plz set me as your signature and help me spread :)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |