X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=xMZENXB11mRCsc7aiU3WPNiBX/PyQDRCsN7kS2DMA48=; b=vs7RpZq6QfmJpJcHOXQjsW6ecrLAwqYGQX4FS3Uj5tlSJz14a6CGfg4hhe06DX6XXd IFFs2N10rcbXwNVDbcD7DUKBCc5pp9sQvVuc4AFt2IFOz+TPqP2IaVPCDU3R3GFDFE5A yYENb5Rf/oyT14JKvzdZbjlZtK6O3m6jwA/J0= MIME-Version: 1.0 In-Reply-To: <66fec64a-4317-485b-8dae-7d8431e0cd48@x16g2000yqg.googlegroups.com> References: <66fec64a-4317-485b-8dae-7d8431e0cd48 AT x16g2000yqg DOT googlegroups DOT com> Date: Wed, 6 Jul 2011 08:54:58 +0300 Message-ID: Subject: Re: vsnprintf with djgpp <= 2.03 From: Ozkan Sezer To: djgpp AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p666HD2o012503 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 Precedence: bulk On Wed, Jul 6, 2011 at 1:36 AM, Rugxulo wrote: > Hi, > > On Jul 5, 12:46 pm, Ozkan Sezer wrote: >> >> For vsnprintf() with djgpp<=2.03, I use src/libc/ansi/stdio/vsnprntf.c >> from djgpp 2.04 directly included in my sources with __stropenw() and >> __strclosew() helpers pasted from include/libc/file.h into it. >> >> This seems successful fo me, so far.  Are there any problems with this >> that I am not aware of? > > Don't know offhand, you'll just have to try it and see.   :-)) > I did, and it seems to work fine, even with djgpp as old as 2.0.0 :) I just wanted to know whether there are any requirements that I don't know. > P.S. I think libsupp supports those, which might be a cleaner way of > getting it. > Well cleaner is arguable, there are lots of stuff in libsupp that I don't care about one bit, so this was the easiest and most straightforward for me. Thanks. -- O.S.