Re: That amd64 segfault again

Magnus Holmgren <[email protected]>
Newsgroups gmane.mail.spam.spf.devel
Organization Lysator ACS
Message-ID <[email protected]>
On Monday 26 March 2007 16:44, Scott Kitterman wrote:
> On Monday 26 March 2007 05:24, Thomas Jacob wrote:
> > On Sat, 2007-03-24 at 10:38 +0100, Magnus Holmgren wrote:
> > > I thought I should attach the patch I'm about to apply to libspf2 in
> > > Debian. I started with the patch posted by Thomas Jacob to the Debian
> > > bug report (http://bugs.debian.org/392793) and merged with the one from
> > > Herbert Straub. Then I moved the changes that just cast the arguments
> > > to SPF_Infof() and SPF_Debugf() into a separate patch and instead
> > > changed the format strings. But how portable is the z flag to printf()?
> >
> > But generally I think that I would be more portable
> > if you just used %d and a type cast, the numbers
> > involved should always be less than MAX_INT, and explicit
> > type casting like that shouldn't break code anywhere...
>
> I think the more portable the better.  It would also make the patches more
> useful upstream once they (he) restarts maintaining libspf2.

I'll do so, especially for this reason.

-- 
Magnus Holmgren        [email protected]
                       (No Cc of list mail needed, thanks)

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?list_id=1007
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGCQzSk7mRNn1h4+YRAruWAJ4kDjGIMyktqaH6Mb1u1znv3Xt0nACeKg+d
7ZC48/Vzzm9G1zenXeo/4vw=
=J2lt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.