Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 1997 09:07:06 +0200 (MET DST)
From:      Andrzej Bialecki <abial@korin.warman.org.pl>
To:        Warner Losh <imp@village.org>
Cc:        "Daniel O'Callaghan" <danny@panda.hilink.com.au>, Holm Tiffe <freebsd@magnet.geophysik.tu-freiberg.de>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: quad ints implemented ? 
Message-ID:  <Pine.NEB.3.95.970702090028.3329D-100000@korin.warman.org.pl>
In-Reply-To: <E0wj4qy-00069K-00@rover.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Jul 1997, Warner Losh wrote:

> In message <Pine.BSF.3.91.970701181651.869J-100000@panda.hilink.com.au> "Daniel O'Callaghan" writes:
> : > I've tried to get postgreSQL V6.1 working with the int8 package on -current.
> : > It seems that FreeBSD has not jet fully implemented the 64bit int in the
> : > stdio library, %q is not documented. It works for printf(3), but scanf fails.
> : 
> : Yes, I've noticed this, too.
> 
> I've also noticed that things liked %lld and %llu don't work on
> FreeBSD.  This is from code ported from Solaris.  Waht, if anything,
> does the standard have to say on this?  And would people object if I
> implemented %ll as a long long modifier?

I would not object. I had exactly the same situation backwards -I had to
port some code from FreeBSD to Solaris, when I noticed this quirk. I hope
it means you'll leave the %q as well, to avoid breaking the code which
already uses it. Then we could deprecate usage of what is considered
nonstandard...

Sincerely yours,

---
Andrzej Bialecki                  FreeBSD: Turning PCs Into Workstations
<abial@warman.org.pl>             http://www.freebsd.org
Research and Academic Network in Poland




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970702090028.3329D-100000>