Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2002 22:46:48 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        "M. Warner Losh" <imp@village.org>, current@FreeBSD.org, peter@FreeBSD.org
Subject:   Re: stdout changes break some ports
Message-ID:  <20020330224648.A93819@xor.obsecurity.org>
In-Reply-To: <20020324175436.A75804@xor.obsecurity.org>; from kris@obsecurity.org on Sun, Mar 24, 2002 at 05:54:36PM -0800
References:  <20020324173513.A75429@xor.obsecurity.org> <20020324.184313.30925676.imp@village.org> <20020324175436.A75804@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 24, 2002 at 05:54:36PM -0800, Kris Kennaway wrote:
> On Sun, Mar 24, 2002 at 06:43:13PM -0700, M. Warner Losh wrote:
>=20
> > : David O'Brien committed a workaround to the clog port yesterday to
> > : move the initializer to main() instead of trying to do it statically.
> > :=20
> > : Is this something which is supposed to work?
> >=20
> > No.  This isn't something that is guaranteed to work per the
> > standards, iirc.  The proper fix is to put the initializer in main.
>=20
> OK.  Someone needs to go and fix those 84 ports then.

How does one fix this in a library?  I've been moving the
initialization to main() for applications.

Kris

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8prDXWry0BWjoQKURAqbZAJ4+saHPXYK9IwEb8xCri3QhoSPt8gCg0++c
ZWXnYqptGzDZ8VERaB2egDU=
=PVP4
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020330224648.A93819>