X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: vsnprintf with djgpp <= 2.03 Date: Tue, 5 Jul 2011 15:36:25 -0700 (PDT) Organization: http://groups.google.com Lines: 15 Message-ID: <66fec64a-4317-485b-8dae-7d8431e0cd48@x16g2000yqg.googlegroups.com> References: NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1309905385 25203 127.0.0.1 (5 Jul 2011 22:36:25 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 5 Jul 2011 22:36:25 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: x16g2000yqg.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: UHALERCNK X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.9.168 Version/11.50,gzip(gfe) Bytes: 1743 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p65Mj2k5016347 Reply-To: djgpp AT delorie DOT com 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. :-)) P.S. I think libsupp supports those, which might be a cleaner way of getting it.