* Re: egcs, REVIEW FOR SUBMISSION, vfprintf.c ... (fix)
@ 1998-04-06 17:35 Eric Dana
0 siblings, 0 replies; 2+ messages in thread
From: Eric Dana @ 1998-04-06 17:35 UTC (permalink / raw)
To: ghazi; +Cc: egcs
---------- Forwarded message ----------
Date: Fri, 3 Apr 1998 10:12:09 -0500 (EST)
From: Eric Dana <edana@bgs.com>
To: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
Cc: egcs@cygnus.com, ghazi@caip.rutgers.edu
Subject: Re: egcs, REVIEW FOR SUBMISSION, vfprintf.c ...
Kaveh,
My last patch was quite incorrect. Here is a simplified and correct
patch to allow 'L' prefixes on integer quantities to stand for
'long long'. I've also made a portable _doprint()/_doscan()
replacement for many UNIX's (original based on netbsd and freebsd
work). Your welcome to look at the code.
Eric Dana
Principal Software Engineer
BMC Inc.
-------------------------cut here-------------
*** vfprintf.c.orig Fri Apr 3 09:52:05 1998
--- vfprintf.c Mon Apr 6 10:58:08 1998
***************
*** 127,132 ****
--- 127,134 ----
PRINT_TYPE(short);
else
{
+ if (double_width) /* support for %Ld == long long */
+ long_width = 2; /* (MP-RAS (NCR) and others) */
switch (long_width)
{
case 0:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: egcs, REVIEW FOR SUBMISSION, vfprintf.c ... (fix)
@ 1998-04-14 8:35 Kaveh R. Ghazi
0 siblings, 0 replies; 2+ messages in thread
From: Kaveh R. Ghazi @ 1998-04-14 8:35 UTC (permalink / raw)
To: edana; +Cc: egcs
> From: Eric Dana <edana@bgs.com>
>
> ---------- Forwarded message ----------
> Date: Fri, 3 Apr 1998 10:12:09 -0500 (EST)
> From: Eric Dana <edana@bgs.com>
> To: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
> Cc: egcs@cygnus.com, ghazi@caip.rutgers.edu
> Subject: Re: egcs, REVIEW FOR SUBMISSION, vfprintf.c ...
>
> Kaveh,
>
> My last patch was quite incorrect. Here is a simplified and correct
> patch to allow 'L' prefixes on integer quantities to stand for
> 'long long'. I've also made a portable _doprint()/_doscan()
> replacement for many UNIX's (original based on netbsd and freebsd
> work). Your welcome to look at the code.
>
> Eric Dana
> Principal Software Engineer
> BMC Inc.
Okay, I'll include support of 'L' for "long long". And I
definitely am interested in seeing your own replacement code. Where
can I find it? Is it GPL'ed, so I can copy from it?
--Kaveh
PS: What is _doprint vs. _doprnt? Are they they same thing?
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu Icon CMT Corp.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-04-14 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-06 17:35 egcs, REVIEW FOR SUBMISSION, vfprintf.c ... (fix) Eric Dana
1998-04-14 8:35 Kaveh R. Ghazi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).