delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/09/08/07:15:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Thu, 08 Sep 2005 06:11:35 -0500
Date: Thu, 08 Sep 2005 07:11:36 -0400
From: Joe Wright <jwright AT comcast DOT net>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Pb with sprintf
References: <dfmqgu$mfs$1 AT s1 DOT news DOT oleane DOT net> <gL-dnSZBgocSw4LeRVn-uQ AT comcast DOT com> <2497d9a2050907160124a508c7 AT mail DOT gmail DOT com> <dfp3ue$2tk$1 AT s1 DOT news DOT oleane DOT net> <3oak7kF50c1lU2 AT news DOT dfncis DOT de>
In-Reply-To: <3oak7kF50c1lU2@news.dfncis.de>
Message-ID: <fKGdnQEh9rf6gb3eRVn-rQ@comcast.com>
Lines: 25
NNTP-Posting-Host: 69.143.13.12
X-Trace: sv3-v4zjfrW0g/yVcRxsH2iu0NX9Qh//RVzIYjrcFB4NQqmpSm966qPjnNU6CEZZ6H8UL8s7rBrNy1ID5dl!t6k9hBt/l09dGtY9jXT28DSChQDZM+FmMOWfmZ4epFWAC+Qmm2IlSHqocpa8OFUdsw8i+4zuHfHR!HQ==
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
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.32
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hans-Bernhard Broeker wrote:
> philippe meynard <philippe DOT meynard AT vendeeconcept DOT com> wrote:
> 
> 
>>The code work fine in a single task, but when there are 2 ou 3 tasks
>>who used sprintf, this code crash.
> 
> 
> Multitasked *how*?  Crashes *how*?
> 
> 
>>My question 
>>do you know if the function sprintf used dos call dpmi_int (0x21) or return 
>> the processor to the real mode or used malloc ?
> 
> 
> It quite certainly doesn't call DOS, nor switch to 16-bit mode.  It
> may use malloc(), though.
> 
What could sprintf() do with malloc()?

-- 
Joe Wright
"Everything should be made as simple as possible, but not simpler."
                     --- Albert Einstein ---

- Raw text -


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