X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Tue, 21 Oct 2008 20:25:43 -0500 From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: failure of __dpmi_set_segment_limit() problem Date: Tue, 21 Oct 2008 20:25:41 -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: Lines: 14 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 64.91.192.48 X-Trace: sv3-C8dInt+IA21JBMBQTnUgjtU3dlbK95izhxcsSD8n9uCpKq1blsd9Ho5vEKtMKWelMBGjJkJiRD5Pm8D!OLHMLfniBQjfxc5w5nWdFboyMO/UMoqggUh+EdkDwJFt70TSYOwAq5Wtsvwy9bJOWynWfs5b5d0t!rNVPL2B+tk5MsoBrBqPi9YP9fPU4flw= 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 > Okay, I've deleted the file. If you noticed the issue or didn't, feel > free > to let me know. I have the file, and have confirmed it prints different limits, the limit apparently being changed in the printf() - presumably due to an internal malloc() call chaining to sbrk(). It has this behavior under Windows, so I'll eventually step through it there in a debugger. Been really busy. Does any example of this code with a failure call the built-in __main() procedure?