ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/10/21/22:30:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Tue, 21 Oct 2008 21:19:04 -0500
From: "Charles Sandmann" <cwsdpmi AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <gcbnih$6pq$1 AT aioe DOT org> <MOadnT7eV5OCQHfVnZ2dnUVZ_g6dnZ2d AT earthlink DOT com> <gcf1pk$6q8$1 AT aioe DOT org> <EfSdnbKNq9VBs3HVnZ2dnUVZ_jidnZ2d AT earthlink DOT com> <gclvag$mho$1 AT aioe DOT org> <gdes8d$aqo$1 AT aioe DOT org>
Subject: Re: failure of __dpmi_set_segment_limit() problem
Date: Tue, 21 Oct 2008 21:19:02 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-RFC2646: Format=Flowed; Original
Message-ID: <t7Wdna5FmpsFEGPVnZ2dnUVZ_oPinZ2d@earthlink.com>
Lines: 8
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 64.91.192.48
X-Trace: sv3-Uyg9YmfKYkPhxCyYAvtLqjvozTKTVv3pUknCs4mjYpV01CgkA0ToUVPB6h4SsRSjUlKZOyorpMD+eZ9!BBPKNB/n/xSY3NKVPZB8/4vWnsCsBlh25Ch+NNkCyBzeO63LrU398XvK8iLsySWGC50rMVMuHVrY!MbQH4QCHbKDzfy7T3rmdvdb73hwM+sQ=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

You are not flagging to sbrk() that you have changed the segment limit; so 
when you call anything which calls sbrk() that requires it resize the memory 
it resets the limit.  Don't set the limit to -1 manually, call 
_djgpp_nearptr_enable instead or look at it's source to see which flags need 
setting.  There are some old FAQ and usenet articles about this if you 
search long enough..., but the easy thing is to call the libc function. 


- Raw text -


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