delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/06/18/15:45:14

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.224.86.200 with SMTP id t8mr84941qal.0.1371583399250;
Tue, 18 Jun 2013 12:23:19 -0700 (PDT)
X-Received: by 10.182.105.165 with SMTP id gn5mr33574obb.27.1371583399213;
Tue, 18 Jun 2013 12:23:19 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Tue, 18 Jun 2013 12:23:18 -0700 (PDT)
In-Reply-To: <cff7d47c-d521-4f8a-bb68-b8bfd5f14b9f@googlegroups.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=71.222.72.40; posting-account=jrLHRgkAAABPV01ZW_RN_U6Tm5UnYNUx
NNTP-Posting-Host: 71.222.72.40
References: <36e857f0-9899-496b-9fc6-32251e109888 AT googlegroups DOT com>
<kpo3gh$4qo$1 AT speranza DOT aioe DOT org> <858cbded-7989-46e6-a997-93f842cdb3b0 AT googlegroups DOT com>
<cff7d47c-d521-4f8a-bb68-b8bfd5f14b9f AT googlegroups DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c4e55936-5ac9-4417-b315-f7226fb99f7e@googlegroups.com>
Subject: Re: General Protection Fault error is intermittent
From: "K.J.Williams" <lordwilliams1972 AT gmail DOT com>
Injection-Date: Tue, 18 Jun 2013 19:23:19 +0000
Bytes: 2802
Lines: 51
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tuesday, June 18, 2013 7:43:24 AM UTC-7, rug DOT  DOT  DOT  AT gmail DOT com wrote:
> Hi,
> 
>   FYI, I've not tried compiling your code (yet), nor am I really
> 
> familiar with strtok(), but anyways .... (BTW, Google Groups is
> 
> especially horrible here, I don't know why they don't fix it.)
> 
> 
> 
> http://en.cppreference.com/w/c/string/byte/strtok
> 
> 
> 
> On Tuesday, June 18, 2013 3:26:10 AM UTC-5, K.J.Williams wrote:
> 
> > On Monday, June 17, 2013 3:48:36 PM UTC-7, Rod Pemberton wrote:
> 
> > 
> 
> > > "K.J.Williams" <nospam AT nospam DOT no> wrote in message
> 
> > 
> 
> > > news:36e857f0-9899-496b-9fc6-32251e109888 AT googlegroups DOT com...
> 
> > 
> 
> > But the problem is that DJGPP will not warn me about violating 
> 
> > memory boundaries with the parstext.c program as it does with the 
> 
> > bigger program WATT ( a project of several files ). I wanted to know 
> 
> > why isn't DJGPP warning me when I run parstext.c runs without complaints?   
> 
> > Its basically a segmented memory violation caused by strtok on following 
> 
> > calls.
> 
> 
> 
> You probably just got lucky or the error was masked. You did say you
> 
> were running under plain MS-DOS 7, right?
> 
I am actually using MS-DOS 7 ( if it is ) under Windows 95. MS-DOS under Command Prompt is not the same under my other computer(s) which have Windows XP.  

<snipped> 

I will check out your other references that you mention, to see what they offer...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019